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
/
flames.c
diff --git
a/tests/flames.c
b/tests/flames.c
index
59bfbdf
..
f55acea
100644
(file)
--- a/
tests/flames.c
+++ b/
tests/flames.c
@@
-243,7
+243,7
@@
main ()
{
if ((e = xcb_poll_for_event (f->xcb.c)))
{
- switch (
e->response_type & 0x7f
)
+ switch (
XCB_EVENT_RESPONSE_TYPE(e)
)
{
case XCB_EXPOSE:
xcb_copy_area(f->xcb.c, f->xcb.pixmap, f->xcb.draw, gc,