Bugfix: Don’t initialize screen twice when not using Xinerama (Thanks badboy)
This commit is contained in:
parent
b9636ceeec
commit
d8380c6101
|
@ -160,7 +160,6 @@ static void disable_xinerama(xcb_connection_t *conn) {
|
||||||
|
|
||||||
num_screens = 1;
|
num_screens = 1;
|
||||||
s->num = 0;
|
s->num = 0;
|
||||||
initialize_screen(conn, s, &(workspaces[0]));
|
|
||||||
|
|
||||||
TAILQ_INSERT_TAIL(virtual_screens, s, screens);
|
TAILQ_INSERT_TAIL(virtual_screens, s, screens);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue