diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2010-10-05 18:03:22 +0200 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2011-04-12 12:57:37 -0700 |
commit | 82b1f3919a82a730f6b2f952d4090fe15702694e (patch) | |
tree | d3e3e5a0daa0002cde9ef4afa8ffef4d20436c52 /src | |
parent | 42c4adeff4a6aedfba30e22f71800c1b73942923 (diff) |
Handle XGE events with the "send event" flag
This patch is necessary so xcb reads the payload after the message
for GenericEvents with the 0x80 flag turned on.
Signed-off-by: Carlos Garnacho <carlosg@gnome.org>
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/xcb_in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcb_in.c b/src/xcb_in.c index ca75169..501e719 100644 --- a/src/xcb_in.c +++ b/src/xcb_in.c @@ -171,7 +171,7 @@ static int read_packet(xcb_connection_t *c) } /* XGE events may have sizes > 32 */ - if (genrep.response_type == XCB_XGE_EVENT) + if ((genrep.response_type & 0x7f) == XCB_XGE_EVENT) eventlength = genrep.length * 4; buf = malloc(length + eventlength + |