summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/scale/src/scale.cpp1
-rw-r--r--src/event.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/plugins/scale/src/scale.cpp b/plugins/scale/src/scale.cpp
index 129a3d9..92b269d 100644
--- a/plugins/scale/src/scale.cpp
+++ b/plugins/scale/src/scale.cpp
@@ -79,7 +79,6 @@ PrivateScaleWindow::isScaleWin () const
if (window->state () & CompWindowStateShadedMask)
return false;
-
if (!window->mapNum () || !window->isViewable ())
return false;
diff --git a/src/event.cpp b/src/event.cpp
index 4d7a2c6..7cf032a 100644
--- a/src/event.cpp
+++ b/src/event.cpp
@@ -1045,6 +1045,7 @@ CompScreen::handleEvent (XEvent *event)
if (!w->priv->frame)
w->priv->reparent ();
w->priv->managed = true;
+ w->priv->unmanaging = false;
}
/* been shaded */