diff options
Diffstat (limited to 'xevents.c')
-rw-r--r-- | xevents.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xevents.c b/xevents.c index 9681790..3735d40 100644 --- a/xevents.c +++ b/xevents.c @@ -77,6 +77,7 @@ 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,6 +87,11 @@ 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; + } + client_ptrwarp(cc); } |