Restrict when to expose a ShellClient to PlasmaWindowManagement
ClosedPublic

Authored by graesslin on Jun 3 2016, 11:41 AM.

Details

Summary

For some windows we don't want to create a PlasmaWindow. Not all
ShellClients are something the outside world should see. This change
introduces the first restrictions:

  • KWin internal windows are hidden
  • transients not accepting focus are hidden

The latter case doesn't work though if the Surface is mapped prior
to creating the shell surface. In such a situation it's racy as KWin
handles the create surface request before we get the setTransient
request. This is difficult to handle as we do want to react quickly.

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.
graesslin updated this revision to Diff 4191.Jun 3 2016, 11:41 AM
graesslin retitled this revision from to Restrict when to expose a ShellClient to PlasmaWindowManagement.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptJun 3 2016, 11:41 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
bshah accepted this revision.Jun 3 2016, 2:16 PM
bshah added a reviewer: bshah.
This revision is now accepted and ready to land.Jun 3 2016, 2:16 PM
This revision was automatically updated to reflect the committed changes.