summaryrefslogtreecommitdiff
path: root/dix/eventconvert.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-03 11:47:16 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-03 11:47:26 +1000
commita371a47205fc58a587e1aecaa4a031184481c228 (patch)
treefaf38dbd1a1dc26a4bbae4583e0ac79672e4d487 /dix/eventconvert.c
parent2bd5ea80652358565346071bed829070ddf5de85 (diff)
dix: EventToCore must return BadMatch for proximity events.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix/eventconvert.c')
-rw-r--r--dix/eventconvert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dix/eventconvert.c b/dix/eventconvert.c
index e104ce9bd..fa2684c0d 100644
--- a/dix/eventconvert.c
+++ b/dix/eventconvert.c
@@ -76,8 +76,6 @@ EventToCore(InternalEvent *event, xEvent *core)
case ET_ButtonRelease:
case ET_KeyPress:
case ET_KeyRelease:
- case ET_ProximityIn:
- case ET_ProximityOut:
{
DeviceEvent *e = (DeviceEvent*)event;
@@ -93,6 +91,8 @@ EventToCore(InternalEvent *event, xEvent *core)
core->u.keyButtonPointer.state = e->corestate;
}
break;
+ case ET_ProximityIn:
+ case ET_ProximityOut:
case ET_Raw:
return BadMatch;
default: