Bugfix: Apply workspaces to screens when Xinerama is turned off (Thanks Igor, Urs)

next
Michael Stapelberg 2009-03-31 19:17:31 +02:00
parent fcc5ce516b
commit b4e337027e
1 changed files with 2 additions and 5 deletions

View File

@ -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. */