summaryrefslogtreecommitdiff
path: root/clients/eventdemo.c
diff options
context:
space:
mode:
authorTim Wiederhake <twied@gmx.net>2011-04-11 13:16:33 -0400
committerKristian Høgsberg <krh@bitplanet.net>2011-04-11 13:16:33 -0400
commitb4b67344f044518ddf6539f63fdc7ae25f0498a9 (patch)
tree1205005543113f7c9332e82c64f36c0624773d54 /clients/eventdemo.c
parent20798291ca32b17acd757e54ef479b2d6905c84e (diff)
Define global handler on display creation
Otherwise the initial announcement of interfaces gets lost.
Diffstat (limited to 'clients/eventdemo.c')
-rw-r--r--clients/eventdemo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/eventdemo.c b/clients/eventdemo.c
index 8de620a..3a0fd0d 100644
--- a/clients/eventdemo.c
+++ b/clients/eventdemo.c
@@ -377,7 +377,7 @@ main(int argc, char *argv[])
struct eventdemo *e;
/* Connect to the display and have the arguments parsed */
- d = display_create(&argc, &argv, option_entries);
+ d = display_create(&argc, &argv, option_entries, NULL);
if (d == NULL) {
fprintf(stderr, "failed to create display: %m\n");
return -1;