diff options
-rw-r--r-- | xchord.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -66,6 +66,8 @@ main(int argc, char *argv[]) /* watch for events */ for (;;) { + XNextEvent(dpy, &ev); + XPutBackEvent(dpy, &ev); if (!XCheckTypedEvent(dpy, GenericEvent, &ev)) continue; if (cookie->type != GenericEvent || !XGetEventData(dpy, cookie)) |