mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Xi: don't send core events for slave devices.
This commit is contained in:
@@ -124,7 +124,7 @@ ProcessOtherEvent(xEventPtr xE, DeviceIntPtr device, int count)
|
||||
int coretype = 0;
|
||||
|
||||
coretype = XItoCoreType(xE->u.u.type);
|
||||
if (device->coreEvents && coretype)
|
||||
if (device->isMaster && device->coreEvents && coretype)
|
||||
sendCore = TRUE;
|
||||
|
||||
CheckMotion(xE, device);
|
||||
|
||||
Reference in New Issue
Block a user