diff options
author | oga <oga> | 2011-05-06 19:39:44 +0000 |
---|---|---|
committer | oga <oga> | 2011-05-06 19:39:44 +0000 |
commit | 760c6b5522626145662eb423ec77ccf4d19da584 (patch) | |
tree | 9c0e17c8340a870f63b8524b4677c66f3fb1f745 | |
parent | 604a5d07a47ef516e83ac68d02861188d725951c (diff) | |
download | cwm-760c6b5522626145662eb423ec77ccf4d19da584.tar.gz cwm-760c6b5522626145662eb423ec77ccf4d19da584.tar.xz cwm-760c6b5522626145662eb423ec77ccf4d19da584.zip |
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@.
-rw-r--r-- | xevents.c | 4 |
1 files 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 |