]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Don’t initialize screen twice when not using Xinerama (Thanks badboy)
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 11 Aug 2009 10:38:52 +0000 (12:38 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 11 Aug 2009 10:38:52 +0000 (12:38 +0200)
src/xinerama.c

index d7ac5f29cf3b8c2cf52f613244896718e570fe26..3bf988e74ff18d94f6ab5e0be021da08993287bd 100644 (file)
@@ -160,7 +160,6 @@ static void disable_xinerama(xcb_connection_t *conn) {
 
         num_screens = 1;
         s->num = 0;
-        initialize_screen(conn, s, &(workspaces[0]));
 
         TAILQ_INSERT_TAIL(virtual_screens, s, screens);