mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
mi: Bugfix: FreeCursor ignores negative refcounts.
mieq: Bugfix: Motion notifies did overwrite DeviceMotionNotifies
This commit is contained in:
committed by
Peter Hutterer
parent
85ea408e38
commit
e88bc0e55a
@@ -119,7 +119,7 @@ mieqEnqueue(DeviceIntPtr pDev, xEvent *e)
|
||||
if (e->u.u.type == MotionNotify)
|
||||
isMotion = inputInfo.pointer->id;
|
||||
else if (e->u.u.type == DeviceMotionNotify)
|
||||
isMotion = pDev->id;
|
||||
isMotion = pDev->id | (1 << 8); /* flag to indicate DeviceMotion */
|
||||
|
||||
/* We silently steal valuator events: just tack them on to the last
|
||||
* motion event they need to be attached to. Sigh. */
|
||||
|
||||
Reference in New Issue
Block a user