summaryrefslogtreecommitdiff
path: root/plugins/unityshell
diff options
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