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