diff --git a/bar.c b/bar.c index 828d016..c8d3b18 100644 --- a/bar.c +++ b/bar.c @@ -977,6 +977,8 @@ xconn (void) exit (EXIT_FAILURE); } + XSetEventQueueOwner(dpy, XCBOwnsEventQueue); + /* Grab infos from the first screen */ scr = xcb_setup_roots_iterator(xcb_get_setup(c)).data;