diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-02-17 13:44:03 +0100 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-02-17 13:44:03 +0100 |
| commit | d3349ac4a9f8a893e3b1a094ca4a4c3a7a832772 (patch) | |
| tree | 7149665e7e080559d836f760bdb987d682690763 /plugins | |
| parent | 9e51c47e778fb308159fb04237a15ce787f4865d (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.cpp | 3 |
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); |
