diff options
author | Tom Jaeger <ThJaeger@gmail.com> | 2008-12-08 11:38:12 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2008-12-08 12:05:54 +1000 |
commit | 78a62d7713c708d067d8824ec41b0a0225c1997f (patch) | |
tree | 84229f414225ab89d074a086e5283352d2a50baf | |
parent | ee1a6c28418a6dad6c89f79a994f27bfbaa77368 (diff) |
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>
-rw-r--r-- | Xi/exevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c index 43657b9fd..6d9b6671d 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -154,7 +154,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) |