Summary: |
XI 2.1+: Duplicate XI_RawMotion events on the root window when using XGrabPointer |
Product: |
xorg
|
Reporter: |
Andrey Nazarov <andrey> |
Component: |
Server/Input/Core | Assignee: |
Xorg Project Team <xorg-team> |
Status: |
RESOLVED
MOVED
|
QA Contact: |
Xorg Project Team <xorg-team> |
Severity: |
normal
|
|
|
Priority: |
medium
|
CC: |
vluchits
|
Version: |
7.7 (2012.06) | |
|
Hardware: |
All | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 89191 [details] Test case application Registering for XI_RawMotion events on the root window makes XInput 2.1 or 2.2 client receive duplicate raw motion events when XGrabPointer is active on the client window. See attached test case (watching in parallel for real input events with evtest helps to spot the problem). Registering for raw mouse events and grabbing the pointer is basically what SDL 2 does when application requests relative mouse input. This results in doubled mouse sensitivity compared to using evdev directly.