From ad1b78c6d1b466fbc2c11eec92ad5ce75bb44515 Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 2 Feb 2014 16:29:04 +0000 Subject: No need to store screen colormap and visual; rather just use the X macros in the one place they are needed. --- screen.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'screen.c') diff --git a/screen.c b/screen.c index fa90f96..df19c08 100644 --- a/screen.c +++ b/screen.c @@ -44,8 +44,6 @@ screen_init(int which) TAILQ_INIT(&sc->mruq); sc->which = which; - sc->visual = DefaultVisual(X_Dpy, sc->which); - sc->colormap = DefaultColormap(X_Dpy, sc->which); sc->rootwin = RootWindow(X_Dpy, sc->which); conf_screen(sc); -- cgit 1.4.1