Diffusion KWin 900f242a39d6

[effects/squash] Try to reverse previous active animations

Authored by zzag on Oct 24 2018, 8:25 PM.

Description

[effects/squash] Try to reverse previous active animations

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.

Reviewers: KWin, davidedmundson

Reviewed By: KWin, davidedmundson

Subscribers: kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D16451

Details

Committed
zzagNov 17 2018, 11:44 AM
Reviewer
KWin
Differential Revision
D16451: [effects/squash] Try to reverse previous active animations
Parents
R108:396d5280756a: [scripting] Introduce complete function
Branches
Unknown
Tags
Unknown