D29457: workspace.clientList doesn't have desktop windows
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
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