D29457: workspace.clientList doesn't have desktop windows
Vlad Zahorodnii
noreply at phabricator.kde.org
Wed May 6 08:12:26 BST 2020
zzag added a comment.
Hmm, this won't work on Wayland because desktop windows are mixed together with normal windows in `workspace.clients`. The only way to get a list of desktop windows is to filter them, e.g.
const desktops = workspace.clients.filter(client => client.desktopWindow);
I don't see any benefit from splitting X11 windows by type, could we just put desktop windows and other windows in a single list?
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D29457
To: tcorreabr, #kwin
Cc: zzag, kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200506/4f65e86c/attachment.html>
More information about the kwin
mailing list