JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
use xcb instead of RootWindow
authorDavid Hill <dhill@conformal.com>
Sun, 15 Jul 2012 18:50:07 +0000 (14:50 -0400)
committerReginald Kennedy <rk@rejii.com>
Fri, 20 Jul 2012 21:59:30 +0000 (05:59 +0800)
spectrwm.c

index 829bba0..ac3a4ac 100644 (file)
@@ -7415,7 +7415,7 @@ setup_screens(void)
                screens[i].idx = i;
                TAILQ_INIT(&screens[i].rl);
                TAILQ_INIT(&screens[i].orl);
-               screens[i].root = RootWindow(display, i);
+               screens[i].root = get_screen(i)->root;
 
                /* set default colors */
                setscreencolor("red", i + 1, SWM_S_COLOR_FOCUS);