summaryrefslogtreecommitdiff
path: root/src/option.cpp
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2008-08-20 19:32:45 +0200
committerDennis kasprzyk <onestone@compiz-fusion.org>2008-08-20 19:32:45 +0200
commit01b0aa33dfe61e00adfa390e2fc36087e3c9ab2e (patch)
tree49034803abaefdad2c885bda4c0c330065f5322f /src/option.cpp
parent5c7a3b43ea2f387754d182a2eb6b64cad918ed16 (diff)
downloadunity-window-decorator-01b0aa33dfe61e00adfa390e2fc36087e3c9ab2e.tar.gz
unity-window-decorator-01b0aa33dfe61e00adfa390e2fc36087e3c9ab2e.tar.bz2
Store Windows in a STL list.
Diffstat (limited to 'src/option.cpp')
-rw-r--r--src/option.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/option.cpp b/src/option.cpp
index c8d5a80..4178756 100644
--- a/src/option.cpp
+++ b/src/option.cpp
@@ -831,8 +831,10 @@ finiDisplayOptionValue (CompDisplay *d,
case CompOption::TypeEdge:
case CompOption::TypeBell:
if (v.action ().state () & CompAction::StateAutoGrab)
+ {
foreach (CompScreen *s, d->screens ())
s->removeAction (&v.action ());
+ }
break;
case CompOption::TypeList:
foreach (CompOption::Value &val, v.list ())