mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
getValuatorEvents: make sure we put MORE_EVENTS in the right places
Make sure we put MORE_EVENTS in with the device id if there are, in fact, more valuator events coming.
This commit is contained in:
committed by
Daniel Stone
parent
8c0556e7cb
commit
85212eb504
@@ -365,6 +365,9 @@ getValuatorEvents(xEvent *events, DeviceIntPtr pDev, int first_valuator,
|
||||
case 1:
|
||||
xv->valuator0 = valuators[i];
|
||||
}
|
||||
|
||||
if (i + 6 < final_valuator)
|
||||
xv->deviceid |= MORE_EVENTS;
|
||||
}
|
||||
|
||||
return events;
|
||||
|
||||
Reference in New Issue
Block a user