From b4e337027e08974b902993726f1e40799aebe1b7 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 31 Mar 2009 19:17:31 +0200 Subject: [PATCH] Bugfix: Apply workspaces to screens when Xinerama is turned off (Thanks Igor, Urs) --- src/xinerama.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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. */ -- 2.39.5