[effects/slidingpopups] Do not add full window repaint in windowDeleted slot

Summary:
Full window repaints issued by the Sliding Popups effect can hide bugs in
other effects that animate the disappearing of windows (e.g. Scale).

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D15822
This commit is contained in:
Vlad Zagorodniy 2018-09-28 22:58:01 +03:00
parent 2872e37709
commit 6f5b3fbe40

View file

@ -201,7 +201,6 @@ void SlidingPopupsEffect::slotWindowDeleted(EffectWindow *w)
{ {
m_animations.remove(w); m_animations.remove(w);
m_animationsData.remove(w); m_animationsData.remove(w);
effects->addRepaint(w->expandedGeometry());
} }
void SlidingPopupsEffect::slotPropertyNotify(EffectWindow *w, long atom) void SlidingPopupsEffect::slotPropertyNotify(EffectWindow *w, long atom)