diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-03 11:47:16 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-03 11:47:26 +1000 |
commit | a371a47205fc58a587e1aecaa4a031184481c228 (patch) | |
tree | faf38dbd1a1dc26a4bbae4583e0ac79672e4d487 /dix/eventconvert.c | |
parent | 2bd5ea80652358565346071bed829070ddf5de85 (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.c | 4 |
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: |