summaryrefslogtreecommitdiff
path: root/plugins/unityshell
diff options
authorAndrea Azzarone <azzaronea@gmail.com>2014-03-17 22:03:18 +0100
committerAndrea Azzarone <azzaronea@gmail.com>2014-03-17 22:03:18 +0100
commit73a09af9034f8299ecbfd8b3f1f35cae0636bbb6 (patch)
tree42418efc7a1a77796df7273b428fef9397883e2e /plugins/unityshell
parent4ff2f9cfcd05c8681415d0b1b5297280ba6388fc (diff)
Fix 1291402.
Fixes LP: #1291402 (bzr r3725.4.1)
Diffstat (limited to 'plugins/unityshell')
-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 f500330df..9ee54b9d7 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -2853,7 +2853,8 @@ bool UnityWindow::glPaint(const GLWindowPaintAttrib& attrib,
{
if ((window->type() != CompWindowTypePopupMenuMask ||
!uScreen->lockscreen_controller_->HasOpenMenu()) &&
- window->resName() != "onboard")
+ window->resName() != "onboard" &&
+ !window->minimized())
{
// For some reasons PAINT_WINDOW_NO_CORE_INSTANCE_MASK doesn't work here
// (well, it works too much, as it applies to menus too), so we need