D17944: [effects/slidingpopups] Port away from deprecated EffectWindow::desktop

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 a window is not on the current virtual desktop, then it won't be
  painted/slided. Thus, we can replace EffectWindow::desktop by
  EffectsHandler::currentDesktop.

TEST PLAN
  The effect still works correctly on both X11 and Wayland.

REPOSITORY
  R108 KWin

BRANCH
  effects-slidingpopups-port-away-from-desktop

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

AFFECTED FILES
  effects/slidingpopups/slidingpopups.cpp

To: zzag, #kwin
Cc: kwin, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, 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.