Skip to content

Commit

Permalink
fix(plugin): if window is set to "skip switcher", skip it from window…
Browse files Browse the repository at this point in the history
… heap

Without this, windows like xwaylandvideobridge would show up.

BUG: 463542
FIXED-IN: 6.0
  • Loading branch information
Akselmo authored and romangg committed Feb 24, 2024
1 parent 678e2d0 commit 60a791e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/effects/private/qml/WindowHeapDelegate.qml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ Item {
readonly property bool presentOnCurrentDesktop: !window.desktops.length || window.desktops.indexOf(KWinComponents.Workspace.currentDesktop) !== -1
readonly property bool initialHidden: window.minimized || !presentOnCurrentDesktop
readonly property bool activeHidden: {
if (windowHeap.showOnly === "activeClass") {
if (window.skipSwitcher) {
return true;
} else if (windowHeap.showOnly === "activeClass") {
if (!KWinComponents.Workspace.activeWindow) {
return true;
} else {
Expand Down

0 comments on commit 60a791e

Please sign in to comment.