mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-04 10:40:29 +01: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:
parent
d4065493b2
commit
151d44149a
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue