Diffusion KWin f1968d0cd9ff

[effects/fadedesktop] Properly check whether given window is on a particular…

Authored by zzag on Oct 10 2018, 1:09 PM.

Description

[effects/fadedesktop] Properly check whether given window is on a particular virtual desktop

Summary:
In order to check whether a window is on some particular virtual
desktop, one has to use isOnDesktop.

Also, this change adds implicit support for the new virtual desktop protocol.

Test Plan:
Switched between virtual desktops with a Konsole window being on all
desktops.

Reviewers: KWin, davidedmundson

Reviewed By: KWin, davidedmundson

Subscribers: kwin

Tags: KWin

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