No need to store screen colormap and visual; rather just use the X

macros in the one place they are needed.
This commit is contained in:
okan
2014-02-02 16:29:04 +00:00
parent 5f9c7a21c7
commit ad1b78c6d1
4 changed files with 9 additions and 11 deletions

View File

@@ -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);