From 0c012f4b4d6a4c203267367da87271b835b83547 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xevents.c b/xevents.c index b05df53..5be8b6a 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. * - * $Id: xevents.c,v 1.51 2011/03/22 10:49:46 okan Exp $ + * $Id: xevents.c,v 1.52 2011/05/06 19:39:44 oga Exp $ */ /* @@ -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 v1.2.3-2-gb3c3