D16401: [effects] Setup connections for pre-existing Wayland clients

Vlad Zagorodniy <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.

REVISION 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.

REPOSITORY
  R108 KWin

BRANCH
  recreate-effectwindow-connections

REVISION DETAIL
  https://phabricator.kde.org/D16401

AFFECTED FILES
  effects.cpp

To: zzag, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.