mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-30 22:30:08 +01:00
Xi: don't call CheckMotion for slave devices.
This essentially disables enter/leave for slave devices, but re-enables them for master devices. Which is a good thing after all.
This commit is contained in:
parent
15944b8f02
commit
a8808ac3d0
1 changed files with 2 additions and 1 deletions
|
|
@ -127,7 +127,8 @@ ProcessOtherEvent(xEventPtr xE, DeviceIntPtr device, int count)
|
|||
if (device->isMaster && device->coreEvents && coretype)
|
||||
sendCore = TRUE;
|
||||
|
||||
CheckMotion(xE, device);
|
||||
if (device->isMaster)
|
||||
CheckMotion(xE, device);
|
||||
|
||||
if (xE->u.u.type != DeviceValuator && xE->u.u.type != GenericEvent) {
|
||||
DeviceIntPtr mouse = NULL, kbd = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue