summary refs log tree commit diff
path: root/xevents.c
diff options
context:
space:
mode:
authoroga <oga>2011-08-22 16:34:34 +0000
committeroga <oga>2011-08-22 16:34:34 +0000
commitbe3b8a0748f7470ed4a6e8bc51fe7622c93c6707 (patch)
treebbafbad17188289d276b25ca877f89f6c6d4282c /xevents.c
parent2dc8df110c738f4bcbe300a5ec1dec1f555765e7 (diff)
downloadcwm-be3b8a0748f7470ed4a6e8bc51fe7622c93c6707.tar.gz
cwm-be3b8a0748f7470ed4a6e8bc51fe7622c93c6707.tar.xz
cwm-be3b8a0748f7470ed4a6e8bc51fe7622c93c6707.zip
A while ago I wrote some code to not warp to ignored windows on map (rev
1.52), not realising that the previous (less efficient) fix had already
been commited (rev 1.50).

Had this in my tree for ages to remove the previous code. Effectively
reverts rev 1.50.

ok okan@
Diffstat (limited to 'xevents.c')
-rw-r--r--xevents.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/xevents.c b/xevents.c
index 438b700..34dd051 100644
--- a/xevents.c
+++ b/xevents.c
@@ -76,7 +76,6 @@ xev_handle_maprequest(XEvent *ee)
 	XMapRequestEvent	*e = &ee->xmaprequest;
 	struct client_ctx	*cc = NULL, *old_cc;
 	XWindowAttributes	 xattr;
-	struct winmatch		*wm;
 
 	if ((old_cc = client_current()) != NULL)
 		client_ptrsave(old_cc);
@@ -86,10 +85,6 @@ xev_handle_maprequest(XEvent *ee)
 		cc = client_new(e->window, screen_fromroot(xattr.root), 1);
 	}
 
-	TAILQ_FOREACH(wm, &Conf.ignoreq, entry) {
-		if (strncasecmp(wm->title, cc->name, strlen(wm->title)) == 0)
-			return;
-	}
 	if ((cc->flags & CLIENT_IGNORE) == 0)
 		client_ptrwarp(cc);
 }