projects
/
free-sw
/
xcb
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make flames/julia/neko demos use XCB_EVENT_RESPONSE_TYPE to determine event type
[free-sw/xcb/demo]
/
tests
/
julia.c
diff --git
a/tests/julia.c
b/tests/julia.c
index
ebdc11f
..
c995d09
100644
(file)
--- a/
tests/julia.c
+++ b/
tests/julia.c
@@
-217,7
+217,7
@@
main (int argc, char *argv[])
xcb_generic_event_t *e;
if (e = xcb_wait_for_event(data.conn))
{
- switch (
e->response_type & 0x7f
)
+ switch (
XCB_EVENT_RESPONSE_TYPE(e)
)
{
case XCB_EXPOSE:
{