diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-12-10 10:53:49 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-12-17 15:03:57 +1000 |
commit | 151d44149a09dd125e25b3d94f22a609f0221548 (patch) | |
tree | 7425015d2bd9ab0ae93bd7c7b898c5cc79c66669 /Xi | |
parent | d4065493b211e90b46f9d4178f23f347afd8043f (diff) |
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>
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/extinit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Xi/extinit.c b/Xi/extinit.c index 175d89b00..606d61c88 100644 --- a/Xi/extinit.c +++ b/Xi/extinit.c @@ -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); |