diff options
author | Magnus Vigerlöf <Magnus.Vigerlof@ipbo.se> | 2008-04-08 14:42:00 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-04-08 14:43:22 +0930 |
commit | 5ffbcfec3d37d3b627a78acfa00dbafc5948df82 (patch) | |
tree | 0405aa31a2aaad0002ec0444e6106cbf67d275d3 /mi | |
parent | 32e4a88ae613c7200d84d5621344b418b656346b (diff) |
dix: Ensure Proximity events don't kill the server.
Add Prox events to the if-clauses with the other events
that are usually sent from the input devices.
Ensure that the event deliverers won't try to deliver
events of type '0' (some extended events doesn't have
an equivalent core-type)
Small modification by Peter Hutterer.
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
Diffstat (limited to 'mi')
-rw-r--r-- | mi/mieq.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -239,7 +239,8 @@ ChangeDeviceID(DeviceIntPtr dev, xEvent* event) if (type == DeviceKeyPress || type == DeviceKeyRelease || type == DeviceButtonPress || type == DeviceButtonRelease || - type == DeviceMotionNotify) + type == DeviceMotionNotify || type == ProximityIn || + type == ProximityOut) ((deviceKeyButtonPointer*)event)->deviceid = dev->id; else if (type == DeviceValuator) ((deviceValuator*)event)->deviceid = dev->id; |