diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2012-11-30 18:41:33 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-12-07 15:24:57 +1000 |
commit | d6e2c8f0e60a4642d388fc3cfe7b59f78c7b881a (patch) | |
tree | 2f5e70849599a700cb7430cba60ad9e71c1eb02d | |
parent | a3836bba795891746b3f3782b2219d4d6c60d0fb (diff) |
marshal over lots of other stuff
-rw-r--r-- | src/XExtInt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c index a0406ec..ad09b03 100644 --- a/src/XExtInt.c +++ b/src/XExtInt.c @@ -2005,7 +2005,10 @@ wireToBarrierEvent(xXIBarrierEvent *in, XGenericEventCookie *cookie) out->type = in->type; out->extension = in->extension; out->evtype = in->evtype; - + out->send_event = ((in->type & 0x80) != 0); + out->time = in->time; + out->deviceid = in->deviceid; + out->sourceid = in->sourceid; out->window = in->window; out->root = in->root; out->root_x = in->root_x; @@ -2017,7 +2020,6 @@ wireToBarrierEvent(xXIBarrierEvent *in, XGenericEventCookie *cookie) out->dt = in->dt; out->barrier = in->barrier; out->event_id = in->event_id; - out->time = in->time; return 1; } |