From: David Hill Date: Sun, 15 Jul 2012 18:50:07 +0000 (-0400) Subject: use xcb instead of RootWindow X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=6ae31bbc2b7ca45c342730de0620da2695b8d786;p=spectrwm.git use xcb instead of RootWindow --- diff --git a/spectrwm.c b/spectrwm.c index 829bba0..ac3a4ac 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -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);