summary refs log tree commit diff
path: root/screen.c
diff options
context:
space:
mode:
authorokan <okan>2014-02-02 16:29:04 +0000
committerokan <okan>2014-02-02 16:29:04 +0000
commitad1b78c6d1b466fbc2c11eec92ad5ce75bb44515 (patch)
tree91d65e39a19d7e601855d32779b62bac76b0a6f9 /screen.c
parent5f9c7a21c71d8386ae7eb7b03bdfb9c58dbe1b19 (diff)
downloadcwm-ad1b78c6d1b466fbc2c11eec92ad5ce75bb44515.tar.gz
cwm-ad1b78c6d1b466fbc2c11eec92ad5ce75bb44515.tar.xz
cwm-ad1b78c6d1b466fbc2c11eec92ad5ce75bb44515.zip
No need to store screen colormap and visual; rather just use the X
macros in the one place they are needed.
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c2
1 files changed, 0 insertions, 2 deletions
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);