Xi: don't send core events for slave devices.
This commit is contained in:
parent
de70cfdbe6
commit
ae9fc10ade
|
@ -124,7 +124,7 @@ ProcessOtherEvent(xEventPtr xE, DeviceIntPtr device, int count)
|
||||||
int coretype = 0;
|
int coretype = 0;
|
||||||
|
|
||||||
coretype = XItoCoreType(xE->u.u.type);
|
coretype = XItoCoreType(xE->u.u.type);
|
||||||
if (device->coreEvents && coretype)
|
if (device->isMaster && device->coreEvents && coretype)
|
||||||
sendCore = TRUE;
|
sendCore = TRUE;
|
||||||
|
|
||||||
CheckMotion(xE, device);
|
CheckMotion(xE, device);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user