diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c index a29f9094..2d33919e 100644 --- a/i3bar/src/xcb.c +++ b/i3bar/src/xcb.c @@ -1290,6 +1290,7 @@ void clean_xcb(void) { FREE(outputs); xcb_flush(xcb_connection); + xcb_aux_sync(xcb_connection); xcb_disconnect(xcb_connection); ev_check_stop(main_loop, xcb_chk);