]> git.sur5r.net Git - i3/i3/blobdiff - src/mainx.c
Bugfix: Repeatedly try to find screens if none are available (Thanks mxf)
[i3/i3] / src / mainx.c
index a832f0985c622d594d696d0f0e4a07e3918b0f8b..d95ca4653dcff818b0d8cb19c82d8b49db373421 100644 (file)
@@ -375,6 +375,9 @@ int main(int argc, char *argv[], char *env[]) {
                 c_ws = &workspaces[screen->current_workspace];
         }
 
+        /* Handle the events which arrived until now */
+        xcb_check_cb(NULL, NULL, 0);
+
         /* Ungrab the server to receive events and enter libev’s eventloop */
         xcb_ungrab_server(conn);
         ev_loop(loop, 0);