diff options
author | Sven Gothel <[email protected]> | 2011-10-15 07:34:06 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-10-15 07:34:06 +0200 |
commit | 50dca7ef60f28711397d40d8daeb8a24dff41dc2 (patch) | |
tree | f9830fb69f82ffd6e162c462255f858a52914d0f /src/newt/native/Window.h | |
parent | d7e47e58b5b33f3ead939d3c630ea13568dfe74c (diff) |
NEWT/Pointer Confined: Dispatch mouse move events before enabled; Only request-focus/warp-ptr if enabled
Dispatch mouse move events before enabled
- Allows user app listener to track to the new centered mouse position
before using the confined position. This is important for position change usage.
See simplified demo GearsES2
Only request-focus/warp-ptr if enabled
- No need to request focus and center mouse if leaving confinement
Demo GearsES2:
- No need to assume some position changes are erroneous (jumps)
due to confinement.
- Track unconfined mouse position, allowing confined navigation
to have the proper position change value
Diffstat (limited to 'src/newt/native/Window.h')
0 files changed, 0 insertions, 0 deletions