summaryrefslogtreecommitdiff
path: root/plugins/scale/src/scale.cpp
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2010-12-06 22:31:10 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2010-12-06 22:31:10 +0800
commitdba12d1ee11090a2fb88183c4942453e349549f9 (patch)
treef86453933fdbf9679907b8edbae1f15c3291f4e2 /plugins/scale/src/scale.cpp
parentb81ec866e1b0c20dcd77c442141aed9f4ea14cf3 (diff)
downloadcompiz-with-glib-mainloop-dba12d1ee11090a2fb88183c4942453e349549f9.tar.gz
compiz-with-glib-mainloop-dba12d1ee11090a2fb88183c4942453e349549f9.tar.bz2
Revert "Fix windows being forever treated as "not managed" in focus () and not entering into scale mode, etc"
This reverts commit 51e01727d309f39e3f42ecf6b53b4ebb31a385dc. There is a better way to do this
Diffstat (limited to 'plugins/scale/src/scale.cpp')
-rw-r--r--plugins/scale/src/scale.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/scale/src/scale.cpp b/plugins/scale/src/scale.cpp
index 92b269d..129a3d9 100644
--- a/plugins/scale/src/scale.cpp
+++ b/plugins/scale/src/scale.cpp
@@ -79,6 +79,7 @@ PrivateScaleWindow::isScaleWin () const
if (window->state () & CompWindowStateShadedMask)
return false;
+
if (!window->mapNum () || !window->isViewable ())
return false;