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
|
@ -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…
Reference in New Issue
Block a user