Also initialize output->con when using neither RandR nor Xinerama

This commit is contained in:
Michael Stapelberg 2011-01-05 00:19:51 +01:00
parent 5098e45f23
commit f73c02ce92
1 changed files with 1 additions and 0 deletions

View 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);