Exclude Notification and OnScreenDisplay windows from Present Windows
Review Request #122340 - Created Jan. 31, 2015 and submitted
|Kai Uwe Broulik|
These windows don't belong there and having them show up is annoying especially since they usually disappear seconds afterwards causing the grid to rearrange itself.
Neither volume feedback nor Plasma notifications show up in present windows anymore.
|this is unrelated -> 2nd coomit please.||Thomas Lübking|
I'd say they should really fall into one of the categories (if not into all)if (w->isSpecialWindow()...) if (!w->acceptsFocus()) if (w->isSkipSwitcher())
notably since the Notification type used to be override redirect.
Whether this should happen in the client code or KWin core is another question
(status ante: clients would tag a window notification. If it was override_redirect, it was ignored by the WM, if not, treated as "normal" window - with a questionable type, but the client had full control)
However, the fact that the window apparently accepts focus actually worries me a bit (i doubt that's any intended and there's a hell lot of complaints that windows loose focus when a notification appears in the forums) and I'll call for "can we please publically specify and distinguish the types and pitch for moving them NETWM"?
Consider Notification and OSD windows special windows
Notification should not be override redirect. And whether the OSD can be interacted with is up to the look and feel package which, in the default case, is click-through.
Accept focus is different from window can be clicked on, right? That affects all of Plasma's dialogs then.
Revision 2 (+12 -1)