summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2009-01-06 00:18:07 +0000
committerokan <okan>2009-01-06 00:18:07 +0000
commit841c646a2bd69fe290640f0728c472c0575c6d9f (patch)
tree76318eba8ea8b0d068a80b21f669899dc40ba8b9
parent25af744559f9627d1471e0d304fb6ab95c7542d2 (diff)
downloadcwm-841c646a2bd69fe290640f0728c472c0575c6d9f.tar.gz
cwm-841c646a2bd69fe290640f0728c472c0575c6d9f.tar.xz
cwm-841c646a2bd69fe290640f0728c472c0575c6d9f.zip
remove unused code
ok oga@
-rw-r--r--xevents.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xevents.c b/xevents.c
index 46576ef..4b7c4be 100644
--- a/xevents.c
+++ b/xevents.c
@@ -38,7 +38,6 @@ xev_handle_maprequest(struct xevent *xev, XEvent *ee)
 	XMapRequestEvent	*e = &ee->xmaprequest;
 	XWindowAttributes	 xattr;
 	struct client_ctx	*cc = NULL, *old_cc;
-	struct screen_ctx	*sc;
 
 #ifdef notyet
 	int state;
@@ -50,7 +49,6 @@ xev_handle_maprequest(struct xevent *xev, XEvent *ee)
 	if ((cc = client_find(e->window)) == NULL) {
 		XGetWindowAttributes(X_Dpy, e->window, &xattr);
 		cc = client_new(e->window, screen_fromroot(xattr.root), 1);
-		sc = CCTOSC(cc);
 	}
 
 #ifdef notyet			/* XXX - possibly, we shouldn't map if