diff --git a/src/xinerama.c b/src/xinerama.c index ac820bd8..6b8d15ec 100644 --- a/src/xinerama.c +++ b/src/xinerama.c @@ -208,15 +208,12 @@ void initialize_xinerama(xcb_connection_t *conn) { if (reply == NULL || !reply->state) { LOG("Xinerama is not active (in your X-Server), disabling.\n"); - FREE(reply); disable_xinerama(conn); - return; - } + } else + query_screens(conn, virtual_screens); FREE(reply); - query_screens(conn, virtual_screens); - i3Screen *s; num_screens = 0; /* Just go through each workspace and associate as many screens as we can. */