mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-08 21:10:16 +01:00
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>
This commit is contained in:
parent
ad6347afea
commit
3fc762ea94
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue