mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-23 06:10:04 +01:00
Xi: XIGetDevice needs to ignore the MORE_EVENTS flag.
Reported in X.Org Bug 18882, Comment 5.
<http://bugs.freedesktop.org/show_bug.cgi?id=18882>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 78a62d7713)
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
480caacbdd
commit
d679cf70a7
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ XIGetDevice(xEvent* xE)
|
|||
int rc;
|
||||
int id;
|
||||
|
||||
id = ((deviceKeyButtonPointer*)xE)->deviceid;
|
||||
id = ((deviceKeyButtonPointer*)xE)->deviceid & ~MORE_EVENTS;
|
||||
|
||||
rc = dixLookupDevice(&pDev, id, serverClient, DixUnknownAccess);
|
||||
if (rc != Success)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue