summaryrefslogtreecommitdiff
diff options
-rw-r--r--plugins/unityshell/src/unityshell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp
index 34ad8880a..80474726e 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -1217,7 +1217,7 @@ bool UnityScreen::glPaintOutput(const GLScreenPaintAttrib& attrib,
* need to. Doing so on every frame causes Nux to hog the GPU and slow down
* ALL rendering. (LP: #988079)
*/
- bool force = forcePaintOnTop() || PluginAdapter::Default()->IsExpoActive();
+ bool force = forcePaintOnTop() || (mask & PAINT_SCREEN_FULL_MASK);
doShellRepaint = force || !(region.isEmpty() || wt->GetDrawList().empty());
allowWindowPaint = true;