diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-01-22 02:21:20 +0100 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-01-22 02:21:20 +0100 |
| commit | 660f0c1017f2e3a97893222d1222a7a6d02e9edf (patch) | |
| tree | f395cbcb24a8fb4eff6eb67969744ec081ca3e67 /plugins | |
| parent | c45bb94546d127ee1f26e9b58a1bc97cb401a545 (diff) | |
UnityWindow: don't draw fake decoration on windows that don't are decorable and unselected
We still want to paint it on selected windows, to show what they are. (bzr r3566.5.245)
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/unityshell/src/unityshell.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp index 1da31516f..1a238959f 100644 --- a/plugins/unityshell/src/unityshell.cpp +++ b/plugins/unityshell/src/unityshell.cpp @@ -3818,6 +3818,9 @@ void UnityWindow::paintFakeDecoration(nux::Geometry const& geo, GLWindowPaintAtt if (!highlighted) { + if (!compiz_utils::IsWindowFullyDecorable(window)) + return; + BuildDecorationTexture(); if (decoration_tex_) |
