WindowHeapDelegate: If window is set to "skip switcher", skip it from window heap
Without this, windows like xwaylandvideobridge would show up. BUG: 463542 FIXED-IN: 6.0
This commit is contained in:
parent
f661f7bb04
commit
b43052af83
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,9 @@ Item {
|
||||||
readonly property bool presentOnCurrentDesktop: !window.desktops.length || window.desktops.indexOf(KWinComponents.Workspace.currentDesktop) !== -1
|
readonly property bool presentOnCurrentDesktop: !window.desktops.length || window.desktops.indexOf(KWinComponents.Workspace.currentDesktop) !== -1
|
||||||
readonly property bool initialHidden: window.minimized || !presentOnCurrentDesktop
|
readonly property bool initialHidden: window.minimized || !presentOnCurrentDesktop
|
||||||
readonly property bool activeHidden: {
|
readonly property bool activeHidden: {
|
||||||
if (windowHeap.showOnly === "activeClass") {
|
if (window.skipSwitcher) {
|
||||||
|
return true;
|
||||||
|
} else if (windowHeap.showOnly === "activeClass") {
|
||||||
if (!KWinComponents.Workspace.activeWindow) {
|
if (!KWinComponents.Workspace.activeWindow) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue