aboutsummaryrefslogtreecommitdiffstats
path: root/xevents.c
diff options
context:
space:
mode:
authoroga2011-08-22 16:34:34 +0000
committeroga2011-08-22 16:34:34 +0000
commitdfb1433838d9c2cab5b963adfc62da777615897f (patch)
treec97905c2e9e9ba34bb16d9e45fee5b18683f4fb7 /xevents.c
parentb2429e1779cb86c9e6108bf0ffdf561b07a96327 (diff)
downloadcwm-dfb1433838d9c2cab5b963adfc62da777615897f.tar.gz
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.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/xevents.c b/xevents.c
index 9ca53ce..6b1ca9c 100644
--- a/xevents.c
+++ b/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.
*
- * $OpenBSD: xevents.c,v 1.54 2011/06/24 05:33:41 okan Exp $
+ * $OpenBSD: xevents.c,v 1.55 2011/08/22 16:34:34 oga Exp $
*/
/*
@@ -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);
}