summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/addhelper.c
diff options
context:
space:
mode:
authorkristian <kristian@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-10 17:46:15 +0000
committerkristian <kristian@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-10 17:46:15 +0000
commit71ebcac08aade69e881885eda8b252020785d18e (patch)
treed67a63bf226201a3bac5f373f420157e75c696f7 /beryl-plugins/src/addhelper.c
parentf910aaae4e4c037c3534c0e415cdc1684f7b6fb8 (diff)
downloadmarex-dev-71ebcac08aade69e881885eda8b252020785d18e.tar.gz
marex-dev-71ebcac08aade69e881885eda8b252020785d18e.tar.bz2
addhelper: Make sure windows on diffrent viewports are reset too.
git-svn-id: file:///beryl/trunk@3920 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/addhelper.c')
-rw-r--r--beryl-plugins/src/addhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/beryl-plugins/src/addhelper.c b/beryl-plugins/src/addhelper.c
index 1aa0d11..2a0e735 100644
--- a/beryl-plugins/src/addhelper.c
+++ b/beryl-plugins/src/addhelper.c
@@ -122,7 +122,7 @@ static void walk_windows(CompScreen * s, Bool reset)
{
if (!(w->type & ad->wmMask))
continue;
- if (w->invisible || w->destroyed || w->hidden || w->minimized)
+ if (!reset && (w->invisible || w->destroyed || w->hidden || w->minimized))
continue;
if (!reset)
{