diff options
author | okan <okan> | 2014-02-02 16:29:04 +0000 |
---|---|---|
committer | okan <okan> | 2014-02-02 16:29:04 +0000 |
commit | ad1b78c6d1b466fbc2c11eec92ad5ce75bb44515 (patch) | |
tree | 91d65e39a19d7e601855d32779b62bac76b0a6f9 /screen.c | |
parent | 5f9c7a21c71d8386ae7eb7b03bdfb9c58dbe1b19 (diff) | |
download | cwm-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.c | 2 |
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); |