Diffusion KWin 5336c9a1e200

[effects/logout] Animate the disappearing of the logout screen

Authored by zzag on Aug 4 2018, 9:04 AM.

Description

[effects/logout] Animate the disappearing of the logout screen

Summary:
Currently, the fade effect animates both the appearing and the
disappearing of the logout screen. We don't want that because
the logout effect should do that.

D14582 addresses that problem by adding "ksmserver ksmserver" window
class to the blacklist of the fade effect. With that change, only the
logout effect animates the appearing of the logout screen. But there is
a problem... If user clicks the cancel button, the logout screen
instantaneously disappears, instead of smoothly fading out.

This change addresses that problem by adding "out" animation.

Depends on D14582

Test Plan:

Now, only the logout effect animates the appearing and the disappearing of the logout screen.


No smooth transitions when the logout effect is disabled.

Reviewers: KWin, Plasma, VDG, davidedmundson

Reviewed By: KWin, Plasma, davidedmundson

Subscribers: kwin

Tags: KWin

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

Details