From: Michael Stapelberg Date: Tue, 31 Mar 2009 17:17:31 +0000 (+0200) Subject: Bugfix: Apply workspaces to screens when Xinerama is turned off (Thanks Igor, Urs) X-Git-Tag: 3.a-bf1~61 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b4e337027e08974b902993726f1e40799aebe1b7;p=i3%2Fi3 Bugfix: Apply workspaces to screens when Xinerama is turned off (Thanks Igor, Urs) --- 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. */