summaryrefslogtreecommitdiff
path: root/Xi/exevents.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-16 10:48:03 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-18 14:40:53 +1000
commit3fc762ea9474cf92f6b7ef60dd0bb68f59385272 (patch)
treeb4f795ae5b120a8f32bd6edb2274e817601ee27b /Xi/exevents.c
parentad6347afead500fefb34131841f4beb5b03ad4ec (diff)
Xi: Motion events update the device state too.
Without this line the device's axis values don't get updated properly for pure motion events. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/exevents.c')
-rw-r--r--Xi/exevents.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c
index e404b8413..821644d55 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
@@ -796,6 +796,7 @@ UpdateDeviceState(DeviceIntPtr device, DeviceEvent* event)
case ET_DeviceChanged:
ChangeMasterDeviceClasses(device, (DeviceChangedEvent*)event);
return DONT_PROCESS; /* event has been sent already */
+ case ET_Motion:
case ET_ButtonPress:
case ET_ButtonRelease:
case ET_KeyPress: