summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-10-01 16:14:05 +0200
committerDanny Baumann <dannybaumann@web.de>2007-10-01 16:14:05 +0200
commit4a2c4a95e91a2f36d1215a329ea59122f591e56a (patch)
tree6317ce9459315e54c7dd5c85afc1ca15e040892c
parent4bc9aff2182c378632e5d52967cbb60502201365 (diff)
downloadgroup-4a2c4a95e91a2f36d1215a329ea59122f591e56a.tar.gz
group-4a2c4a95e91a2f36d1215a329ea59122f591e56a.tar.bz2
Don't try to raise input prevention window if it isn't mapped.
-rw-r--r--group.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/group.c b/group.c
index 47d2cee..f92b754 100644
--- a/group.c
+++ b/group.c
@@ -1625,7 +1625,8 @@ groupHandleEvent (CompDisplay *d,
GROUP_WINDOW (w);
if (gw->group && gw->group->tabBar &&
- IS_TOP_TAB (w, gw->group) && gw->group->inputPrevention)
+ IS_TOP_TAB (w, gw->group) &&
+ gw->group->inputPrevention && gw->group->ipwMapped)
{
XWindowChanges xwc;