diff options
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/screen.c b/screen.c index a515adb..9515d91 100644 --- a/screen.c +++ b/screen.c @@ -41,6 +41,8 @@ screen_init(struct screen_ctx *sc, u_int which) u_int nwins, i; sc->which = which; + sc->visual = DefaultVisual(X_Dpy, sc->which); + sc->colormap = DefaultColormap(X_Dpy, sc->which); sc->rootwin = RootWindow(X_Dpy, sc->which); xu_ewmh_net_supported(sc); |