From ee76b2ebf619ed9c7c44d00ed790ae818f879a4b Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <michael@stapelberg.de>
Date: Fri, 19 Mar 2010 18:51:01 +0100
Subject: [PATCH] Bugfix: When disabling RandR/Xinerama, give a name to the
 pseudo-output (Thanks fallen)

---
 src/randr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/randr.c b/src/randr.c
index d88fb9c2..7531ecf2 100644
--- a/src/randr.c
+++ b/src/randr.c
@@ -209,6 +209,7 @@ void disable_randr(xcb_connection_t *conn) {
         s->rect.y = 0;
         s->rect.width = root_screen->width_in_pixels;
         s->rect.height = root_screen->height_in_pixels;
+        s->name = "xroot-0";
 
         TAILQ_INSERT_TAIL(&outputs, s, outputs);