D19386: [wayland] Implement belongsToDesktop check

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
  When user asks KWin to show desktop, the compositor just raises every
  desktop window, it doesn't attempt to minimize normal clients, etc.
  Because desktop windows contain stuff like background and icons, the
  compositor has to raise all clients that are somehow correlated with
  desktop (e.g. panels, etc). Otherwise it would pretty weird to show only
  desktop background.
  
  Currently, not all plasmashell's clients are raised when the compositor
  shows desktop because belongsToDesktop is not implemented for ShellClient.
  
  BUG: 404801

TEST PLAN
  - Show desktop;
  - Open Kickoff (without this patch Kickoff is not visible).

REPOSITORY
  R108 KWin

BRANCH
  keep-plasmashell-clients-above-during-show-desktop

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

AFFECTED FILES
  shell_client.cpp
  shell_client.h

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