diff options
author | oga | 2011-05-06 19:39:44 +0000 |
---|---|---|
committer | oga | 2011-05-06 19:39:44 +0000 |
commit | 0c012f4b4d6a4c203267367da87271b835b83547 (patch) | |
tree | c152731c0454bc496dd7645813149497cdeea59d /xevents.c | |
parent | 720369b4d14995ba9c098117ddfd4e0372bb6a73 (diff) | |
download | cwm-0c012f4b4d6a4c203267367da87271b835b83547.tar.gz |
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 '')
-rw-r--r-- | xevents.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |