diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-09-23 19:47:25 +0200 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-09-23 19:47:25 +0200 |
| commit | 3e0b9918eb6c7643e9bd443752d324f14577debf (patch) | |
| tree | 9eda667c73e57581155617ee314ee1267ab67dd2 /unity-shared | |
| parent | 69b3136545dac1a06fe750eaf89c2415574a455c (diff) | |
CompizUtils: undecorate windows in showDesktop mode
Fixes LP: #1324104 (bzr r3806.12.7)
Diffstat (limited to 'unity-shared')
| -rw-r--r-- | unity-shared/CompizUtils.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unity-shared/CompizUtils.cpp b/unity-shared/CompizUtils.cpp index c150b1451..53b08de82 100644 --- a/unity-shared/CompizUtils.cpp +++ b/unity-shared/CompizUtils.cpp @@ -177,6 +177,9 @@ bool IsWindowShadowDecorable(CompWindow* win) if (win->wmType() & (CompWindowTypeDockMask | CompWindowTypeDesktopMask)) return false; + if (win->inShowDesktopMode()) + return false; + if (win->region().numRects() != 1) // Non rectangular windows return false; else if (win->region().boundingRect() != win->geometry()) |
