[effects/squash] Try to reverse previous active animations
ClosedPublic

Authored by zzag on Oct 27 2018, 9:17 AM.

Details

Summary

If a window is unminimized and the minimize animation is still active,
don't cancel the latter and start a new animation. Instead, try to
reverse already active animation and if that attempt failed, start a new
animation. This results in more smoother animations.

Diff Detail

Repository
R108 KWin
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 4318
Build 4336: arc lint + arc unit
zzag created this revision.Oct 27 2018, 9:17 AM
Restricted Application added a project: KWin. · View Herald TranscriptOct 27 2018, 9:17 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Oct 27 2018, 9:17 AM
zzag updated this revision to Diff 44430.Oct 29 2018, 11:09 AM

Rebase.

davidedmundson accepted this revision.Oct 31 2018, 1:32 PM
This revision is now accepted and ready to land.Oct 31 2018, 1:32 PM
zzag updated this revision to Diff 44845.Nov 4 2018, 1:29 PM

Rebase.

This revision was automatically updated to reflect the committed changes.