diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2011-05-06 19:39:45 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2011-05-06 19:39:45 +0000 |
commit | 4ccd4dfeb65a2b59ef69432e192b2d7ef99ac61c (patch) | |
tree | 52575fda57cb4ed3b8e13000dbd05ab20a99abc5 /app | |
parent | 386ab8fc141921776ecea3fb33fcc03efbea283a (diff) |
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@.
Diffstat (limited to 'app')
-rw-r--r-- | app/cwm/xevents.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c index b05df5340..5be8b6a88 100644 --- a/app/cwm/xevents.c +++ b/app/cwm/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 |