diff options
author | Tom Jaeger <ThJaeger@gmail.com> | 2008-12-08 11:38:12 +1000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-12-09 20:42:56 -0800 |
commit | d679cf70a79aa53e823f4fa51a7ab19837f26525 (patch) | |
tree | f9c1ad15bd8c7048526171553558a1975494c12b | |
parent | 480caacbdd20d47770cc9a698be9f7c98e87783d (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>
(cherry picked from commit 78a62d7713c708d067d8824ec41b0a0225c1997f)
Signed-off-by: Keith Packard <keithp@keithp.com>
-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 00a6b2151..a976802a2 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -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) |