summaryrefslogtreecommitdiff
path: root/plugins/scale/src/scale.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/scale/src/scale.cpp')
-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)