about summary refs log tree commit diff
path: root/calmwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'calmwm.c')
-rw-r--r--calmwm.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/calmwm.c b/calmwm.c
index 325112b..62c02cf 100644
--- a/calmwm.c
+++ b/calmwm.c
@@ -149,7 +149,7 @@ void
 x_setupscreen(struct screen_ctx *sc, u_int which)
 {
 	XColor tmp;
-	XGCValues gv, gv1/* , gv2 */;
+	XGCValues gv;
 	Window *wins, w0, w1;
 	u_int nwins, i = 0;
 	XWindowAttributes winattr;
@@ -209,13 +209,6 @@ x_setupscreen(struct screen_ctx *sc, u_int which)
 	    GCForeground|GCBackground|GCFunction|
 	    GCLineWidth|GCSubwindowMode, &gv);
 
-	gv1.function = GXinvert;
-	gv1.subwindow_mode = IncludeInferiors;
-	gv1.line_width = 1;
-
-	sc->invgc = XCreateGC(X_Dpy, sc->rootwin,
-	    GCFunction|GCSubwindowMode|GCLineWidth, &gv1);
-
 	font_init(sc);
 	DefaultFont = font_getx(sc, DefaultFontName);