]> git.sur5r.net Git - i3/i3/commitdiff
Also initialize output->con when using neither RandR nor Xinerama
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 4 Jan 2011 23:19:51 +0000 (00:19 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 4 Jan 2011 23:19:51 +0000 (00:19 +0100)
src/randr.c

index 999181efdde75816714a8855d9ddf7d4fe962206..5da9ab2cba73c07eec97b09885d127d105f75033 100644 (file)
@@ -209,6 +209,7 @@ void disable_randr(xcb_connection_t *conn) {
     s->rect.width = root_screen->width_in_pixels;
     s->rect.height = root_screen->height_in_pixels;
     s->name = "xroot-0";
+    output_init_con(s);
 
     TAILQ_INSERT_TAIL(&outputs, s, outputs);