summaryrefslogtreecommitdiff
path: root/plugins
diff options
authorDaniel van Vugt <daniel.van.vugt@canonical.com>2012-07-16 17:26:13 +0800
committerDaniel van Vugt <daniel.van.vugt@canonical.com>2012-07-16 17:26:13 +0800
commit0d8f3053de80624b341938777c25c9b95bd2dd7f (patch)
tree39df15aa7fc1bfb4bc5976f9259072463ed486c7 /plugins
parent44a27aeb6ec386e005c17e1a8db4132b3c8a70ff (diff)
Fix blinking/flickering of the launcher and panel, especially when running
LibreOffice or Emacs. (LP: #1024459) Fixes LP: #1024459 (bzr r2501.3.1)
Diffstat (limited to 'plugins')
-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;