projects
/
dana
/
dcompmgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add an error handler
[dana/dcompmgr.git]
/
dcompmgr.c
diff --git
a/dcompmgr.c
b/dcompmgr.c
index
9126010
..
c024349
100644
(file)
--- a/
dcompmgr.c
+++ b/
dcompmgr.c
@@
-68,7
+68,7
@@
main(int argc, char **argv)
printf("event %d\n", ev->response_type);
if (!ev->response_type) {
printf("event %d\n", ev->response_type);
if (!ev->response_type) {
- /* XXX handle error */
+ error(conn, (xcb_generic_error_t*)ev);
free(ev);
continue;
}
free(ev);
continue;
}