Bugfix: Apply workspaces to screens when Xinerama is turned off (Thanks Igor, Urs)
This commit is contained in:
parent
fcc5ce516b
commit
b4e337027e
|
@ -208,15 +208,12 @@ void initialize_xinerama(xcb_connection_t *conn) {
|
||||||
|
|
||||||
if (reply == NULL || !reply->state) {
|
if (reply == NULL || !reply->state) {
|
||||||
LOG("Xinerama is not active (in your X-Server), disabling.\n");
|
LOG("Xinerama is not active (in your X-Server), disabling.\n");
|
||||||
FREE(reply);
|
|
||||||
disable_xinerama(conn);
|
disable_xinerama(conn);
|
||||||
return;
|
} else
|
||||||
}
|
query_screens(conn, virtual_screens);
|
||||||
|
|
||||||
FREE(reply);
|
FREE(reply);
|
||||||
|
|
||||||
query_screens(conn, virtual_screens);
|
|
||||||
|
|
||||||
i3Screen *s;
|
i3Screen *s;
|
||||||
num_screens = 0;
|
num_screens = 0;
|
||||||
/* Just go through each workspace and associate as many screens as we can. */
|
/* Just go through each workspace and associate as many screens as we can. */
|
||||||
|
|
Loading…
Reference in New Issue