From 760c6b5522626145662eb423ec77ccf4d19da584 Mon Sep 17 00:00:00 2001 From: oga Date: Fri, 6 May 2011 19:39:44 +0000 Subject: On map, don't warp to windows that are marked as ignored. Requested by Christian Neukirchen last august. He provided a patch but the one I wrote was significantly simpler (1 - 2 + in the whole diff). makes sense to okan@. --- xevents.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xevents.c b/xevents.c index 0d9799d..17c11aa 100644 --- a/xevents.c +++ b/xevents.c @@ -90,8 +90,8 @@ xev_handle_maprequest(XEvent *ee) if (strncasecmp(wm->title, cc->name, strlen(wm->title)) == 0) return; } - - client_ptrwarp(cc); + if ((cc->flags & CLIENT_IGNORE) == 0) + client_ptrwarp(cc); } static void -- cgit 1.4.1