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:
parent
d4065493b2
commit
151d44149a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user