mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Xi: swap sequence number and evtype in barrier events
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
This commit is contained in:
@@ -847,7 +847,9 @@ SBarrierEvent(xXIBarrierEvent * from,
|
||||
xXIBarrierEvent * to) {
|
||||
to->type = from->type;
|
||||
|
||||
cpswaps(from->sequenceNumber, to->sequenceNumber);
|
||||
cpswapl(from->length, to->length);
|
||||
cpswaps(from->evtype, to->evtype);
|
||||
cpswapl(from->time, to->time);
|
||||
cpswaps(from->deviceid, to->deviceid);
|
||||
cpswaps(from->sourceid, to->sourceid);
|
||||
|
||||
Reference in New Issue
Block a user