aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroga2011-05-06 19:39:44 +0000
committeroga2011-05-06 19:39:44 +0000
commit0c012f4b4d6a4c203267367da87271b835b83547 (patch)
treec152731c0454bc496dd7645813149497cdeea59d
parent720369b4d14995ba9c098117ddfd4e0372bb6a73 (diff)
downloadcwm-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.c6
1 files 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