From 200c48963c22fe4070b8fcf11f2c32f0b6d97a62 Mon Sep 17 00:00:00 2001 From: oga Date: Sat, 22 Mar 2008 14:09:02 +0000 Subject: Remove a bunch of unused variables and incorrect comments. "ok with me" okan@. --- calmwm.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'calmwm.c') diff --git a/calmwm.c b/calmwm.c index 4a075fd..a155924 100644 --- a/calmwm.c +++ b/calmwm.c @@ -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. * - * $Id: calmwm.c,v 1.10 2008/02/13 21:48:03 oga Exp $ + * $Id: calmwm.c,v 1.11 2008/03/22 14:09:02 oga Exp $ */ #include "headers.h" @@ -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); -- cgit v1.2.3-2-gb3c3