summaryrefslogtreecommitdiff
path: root/app/cwm
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2009-01-06 00:18:08 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2009-01-06 00:18:08 +0000
commite2a5ed1c1d36b8813a5323fcaaf18e4c0770f024 (patch)
treedc84fa1bcb395c555819feaaa6c7cef3f87194c0 /app/cwm
parent32c359f2384c13749d606bfbb32bc355e9af3006 (diff)
remove unused code
ok oga@
Diffstat (limited to 'app/cwm')
-rw-r--r--app/cwm/xevents.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c
index 24053f2b2..fdd766177 100644
--- a/app/cwm/xevents.c
+++ b/app/cwm/xevents.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: xevents.c,v 1.30 2008/12/04 23:55:04 oga Exp $
+ * $Id: xevents.c,v 1.31 2009/01/06 00:18:07 okan Exp $
*/
/*
@@ -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