From: Michael Stapelberg Date: Tue, 4 Jan 2011 23:19:51 +0000 (+0100) Subject: Also initialize output->con when using neither RandR nor Xinerama X-Git-Tag: tree-pr2~135 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f73c02ce92eb2dc47e9907553a7f9d4d4517767a;p=i3%2Fi3 Also initialize output->con when using neither RandR nor Xinerama --- diff --git a/src/randr.c b/src/randr.c index 999181ef..5da9ab2c 100644 --- a/src/randr.c +++ b/src/randr.c @@ -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);