[PATCH 1/2] xibarriers: Remove accidental use of the comma operator

Jasper St. Pierre jstpierre at mecheye.net
Sun Mar 3 01:50:55 PST 2013


From: "Jasper St. Pierre" <jstpierre at mecheye.net>

---
 Xi/xibarriers.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Xi/xibarriers.c b/Xi/xibarriers.c
index 7b7b83f..a225cbc 100644
--- a/Xi/xibarriers.c
+++ b/Xi/xibarriers.c
@@ -676,8 +676,8 @@ BarrierFreeBarrier(void *data, XID id)
             continue;
 
         ev.deviceid = dev->id;
-        ev.event_id = pbd->barrier_event_id,
-        ev.dt = ms - pbd->last_timestamp,
+        ev.event_id = pbd->barrier_event_id;
+        ev.dt = ms - pbd->last_timestamp;
 
         GetSpritePosition(dev, &root_x, &root_y);
         ev.root_x = root_x;
-- 
1.8.1.4



More information about the xorg-devel mailing list