Bugfix: When disabling RandR/Xinerama, give a name to the pseudo-output (Thanks fallen)

This commit is contained in:
Michael Stapelberg 2010-03-19 18:51:01 +01:00
parent af00df9321
commit ee76b2ebf6
1 changed files with 1 additions and 0 deletions

View File

@ -209,6 +209,7 @@ void disable_randr(xcb_connection_t *conn) {
s->rect.y = 0; s->rect.y = 0;
s->rect.width = root_screen->width_in_pixels; s->rect.width = root_screen->width_in_pixels;
s->rect.height = root_screen->height_in_pixels; s->rect.height = root_screen->height_in_pixels;
s->name = "xroot-0";
TAILQ_INSERT_TAIL(&outputs, s, outputs); TAILQ_INSERT_TAIL(&outputs, s, outputs);