diff options
author | okan | 2014-02-02 16:29:04 +0000 |
---|---|---|
committer | okan | 2014-02-02 16:29:04 +0000 |
commit | b803e99634ca48acb240a6e5a67ab768a72159bc (patch) | |
tree | e14c9365928aec3a36165f787cf763744738dbcb /screen.c | |
parent | 7cf90fa84564259d6ef67cd63017a6cdec385f5a (diff) | |
download | cwm-b803e99634ca48acb240a6e5a67ab768a72159bc.tar.gz |
No need to store screen colormap and visual; rather just use the X
macros in the one place they are needed.
Diffstat (limited to '')
-rw-r--r-- | screen.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: screen.c,v 1.56 2014/02/02 16:13:50 okan Exp $ + * $OpenBSD: screen.c,v 1.57 2014/02/02 16:29:04 okan Exp $ */ #include <sys/param.h> @@ -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); |