diff options
| author | Andrea Azzarone <azzaronea@gmail.com> | 2012-09-28 16:11:00 +0200 |
|---|---|---|
| committer | Andrea Azzarone <azzaronea@gmail.com> | 2012-09-28 16:11:00 +0200 |
| commit | 0b75acd6a23702e2d8156349ab4f800dc4251cfd (patch) | |
| tree | f6a5d586b90824dd511f78021c7a6982149e7d72 /plugins | |
| parent | 6cd2f6d04cb43696d9e4f8f291c6f086da0f26af (diff) | |
Make sure we call damageScreen when we have running animations.
(bzr r2765.1.1)
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/unityshell/src/unityshell.cpp | 2 |
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(); |
