summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-11-13 11:51:29 -0600
committerErkin Bahceci <erkinbah@gmail.com>2009-11-13 11:51:29 -0600
commit3e17ace76e47a336874ff714a7e67f748fdbf18e (patch)
treeaab6708761c183e9a10b847ced8ec11c858c779e
parenta0fcba80a14267719eed7bd2a1555b6fa349df01 (diff)
downloadzcomp-3e17ace76e47a336874ff714a7e67f748fdbf18e.tar.gz
zcomp-3e17ace76e47a336874ff714a7e67f748fdbf18e.tar.bz2
Fix typo, which caused the disappearing window issue.
-rw-r--r--plugins/scale/src/scale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/scale/src/scale.cpp b/plugins/scale/src/scale.cpp
index d29c426..feb1573 100644
--- a/plugins/scale/src/scale.cpp
+++ b/plugins/scale/src/scale.cpp
@@ -1328,7 +1328,7 @@ PrivateScaleScreen::windowRemove (Window id)
if (!w)
return;
- if (state != ScaleScreen::Idle && state != ScaleScreen::In)
+ if (state == ScaleScreen::Idle || state == ScaleScreen::In)
return;
foreach (ScaleWindow *lw, windows)