summaryrefslogtreecommitdiff
path: root/plugins
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2014-02-17 13:44:03 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2014-02-17 13:44:03 +0100
commitd3349ac4a9f8a893e3b1a094ca4a4c3a7a832772 (patch)
tree7149665e7e080559d836f760bdb987d682690763 /plugins
parent9e51c47e778fb308159fb04237a15ce787f4865d (diff)
UnityScreen: check for spread selected window only if in spread mode
(bzr r3656.5.6)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unityshell/src/unityshell.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp
index 5b49e76b7..13c410a9c 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -2816,7 +2816,8 @@ bool UnityWindow::glPaint(const GLWindowPaintAttrib& attrib,
}
}
- if (uScreen->sScreen->getSelectedWindow() == window->id())
+ if (WindowManager::Default().IsScaleActive() &&
+ uScreen->sScreen->getSelectedWindow() == window->id())
{
nux::Geometry const& scaled_geo = GetScaledGeometry();
paintInnerGlow(scaled_geo, matrix, attrib, mask);