summaryrefslogtreecommitdiff
path: root/xserver/Xi/extinit.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-08-24 19:44:53 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-08-24 19:44:53 +0000
commitdf24d8ef31d08c702cd0d7836ef963d7f8860d64 (patch)
treeba5e32b23c40192e85bacee63da561977a1b5e77 /xserver/Xi/extinit.c
parent8aac304d65480d9e64293babdcf7cfa3c30188fd (diff)
Uodate to xserver 1.14.2. Tested by krw@, shadchin@, todd@
Diffstat (limited to 'xserver/Xi/extinit.c')
-rw-r--r--xserver/Xi/extinit.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/xserver/Xi/extinit.c b/xserver/Xi/extinit.c
index 619d0e468..02fffe574 100644
--- a/xserver/Xi/extinit.c
+++ b/xserver/Xi/extinit.c
@@ -848,24 +848,24 @@ SBarrierEvent(xXIBarrierEvent * from,
*to = *from;
- swaps(&from->sequenceNumber);
- swapl(&from->length);
- swaps(&from->evtype);
- swapl(&from->time);
- swaps(&from->deviceid);
- swaps(&from->sourceid);
- swapl(&from->event);
- swapl(&from->root);
- swapl(&from->root_x);
- swapl(&from->root_y);
-
- swapl(&from->dx.integral);
- swapl(&from->dx.frac);
- swapl(&from->dy.integral);
- swapl(&from->dy.frac);
- swapl(&from->dtime);
- swapl(&from->barrier);
- swapl(&from->eventid);
+ swaps(&to->sequenceNumber);
+ swapl(&to->length);
+ swaps(&to->evtype);
+ swapl(&to->time);
+ swaps(&to->deviceid);
+ swaps(&to->sourceid);
+ swapl(&to->event);
+ swapl(&to->root);
+ swapl(&to->root_x);
+ swapl(&to->root_y);
+
+ swapl(&to->dx.integral);
+ swapl(&to->dx.frac);
+ swapl(&to->dy.integral);
+ swapl(&to->dy.frac);
+ swapl(&to->dtime);
+ swapl(&to->barrier);
+ swapl(&to->eventid);
}
/** Event swapping function for XI2 events. */