Diffusion KWin 722af0215339

[effects] Recreate shell client connections after compositor settings have been…

Authored by zzag on Oct 24 2018, 2:18 PM.

Description

[effects] Recreate shell client connections after compositor settings have been changed

Summary:
If the animation speed was changed, then EffectsHandler will be destroyed
and created again.

Because we don't create connections to monitor state of Wayland clients
in EffectsHandler constructor, effects like the Magic lamp won't work
after changing compositor settings.

BUG: 400240

Test Plan:

  • Changed animation speed;
  • Minimized a Wayland client.

Reviewers: KWin, davidedmundson

Reviewed By: KWin, davidedmundson

Subscribers: kwin

Tags: KWin

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

Details

Committed
zzagOct 26 2018, 11:48 AM
Reviewer
KWin
Differential Revision
D16401: [effects] Recreate shell client connections after compositor settings have been changed
Parents
R108:110fa039cbf8: Use consistent size icon in OSD
Branches
Unknown
Tags
Unknown