summaryrefslogtreecommitdiff
diff options
-rw-r--r--plugins/unityshell/src/unityshell.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp
index 206f429cb..bdf616a44 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -1326,11 +1326,7 @@ void UnityScreen::donePaint()
wt->ClearDrawList();
if (animation_controller_->HasRunningAnimations())
- {
- cScreen->damageRegionSetEnabled(this, false);
- cScreen->damageScreen();
- cScreen->damageRegionSetEnabled(this, true);
- }
+ nuxDamageCompiz();
std::list <ShowdesktopHandlerWindowInterface *> remove_windows;