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.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
KWin - Commits
- R108:1084f162aa3d: [effects/slidingpopups] Port away from deprecated EffectWindow::desktop
The effect still works correctly on both X11 and Wayland.
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.