mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-25 21:02:21 +00:00
input: add POINTER_NORAW to avoid generation of raw events (#30068)
RawEvents are supposed to be events coming from the driver. When warping the pointer, this should not generate a raw event. X.Org Bug 30068 <http://bugs.freedesktop.org/show_bug.cgi?id=30068> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
9444e40d77
commit
23a7832789
3 changed files with 17 additions and 12 deletions
|
|
@ -683,7 +683,7 @@ miPointerMove (DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y)
|
|||
|
||||
valuator_mask_set_range(&mask, 0, 2, valuators);
|
||||
nevents = GetPointerEvents(events, pDev, MotionNotify, 0,
|
||||
POINTER_SCREEN | POINTER_ABSOLUTE, &mask);
|
||||
POINTER_SCREEN | POINTER_ABSOLUTE | POINTER_NORAW, &mask);
|
||||
|
||||
OsBlockSignals();
|
||||
#ifdef XQUARTZ
|
||||
|
|
|
|||
Loading…
Reference in a new issue