diff options
Diffstat (limited to 'mi/mieq.c')
-rw-r--r-- | mi/mieq.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -117,7 +117,8 @@ mieqEnqueue(DeviceIntPtr pDev, xEvent *e) !(lastkbp->type == DeviceMotionNotify || lastkbp->type == DeviceButtonPress || lastkbp->type == DeviceButtonRelease) || - (lastkbp->deviceid != v->deviceid)) { + ((lastkbp->deviceid & DEVICE_BITS) != + (v->deviceid & DEVICE_BITS))) { ErrorF("mieqEnequeue: out-of-order valuator event; dropping.\n"); return; } |