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 bdf616a44..610caef1a 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -1449,7 +1449,7 @@ void UnityScreen::nuxDamageCompiz()
* stop it. Then maybe we can revert back to the old code below #else.
*/
std::vector<nux::Geometry> const& dirty = wt->GetDrawList();
- if (!dirty.empty())
+ if (!dirty.empty() || animation_controller_->HasRunningAnimations())
{
cScreen->damageRegionSetEnabled(this, false);
cScreen->damageScreen();