Ignore critical notifications in window heap effects

We filter out regular notifications, but critical notifications are their own window type, so we need to explicitly filter them too

BUG: 463437
This commit is contained in:
Nicolas Fella 2022-12-27 16:00:10 +01:00 committed by Vlad Zahorodnii
parent 87cd6bda4e
commit ccaf0210d1
3 changed files with 6 additions and 3 deletions

View file

@ -124,7 +124,8 @@ FocusScope {
clientModel: desktopView.clientModel clientModel: desktopView.clientModel
windowType: ~KWinComponents.ClientFilterModel.Dock & windowType: ~KWinComponents.ClientFilterModel.Dock &
~KWinComponents.ClientFilterModel.Desktop & ~KWinComponents.ClientFilterModel.Desktop &
~KWinComponents.ClientFilterModel.Notification ~KWinComponents.ClientFilterModel.Notification &
~KWinComponents.ClientFilterModel.CriticalNotification
} }
delegate: WindowHeapDelegate { delegate: WindowHeapDelegate {
windowHeap: heap windowHeap: heap

View file

@ -247,7 +247,8 @@ FocusScope {
minimizedWindows: !effect.ignoreMinimized minimizedWindows: !effect.ignoreMinimized
windowType: ~KWinComponents.ClientFilterModel.Dock & windowType: ~KWinComponents.ClientFilterModel.Dock &
~KWinComponents.ClientFilterModel.Desktop & ~KWinComponents.ClientFilterModel.Desktop &
~KWinComponents.ClientFilterModel.Notification ~KWinComponents.ClientFilterModel.Notification &
~KWinComponents.ClientFilterModel.CriticalNotification
} }
delegate: WindowHeapDelegate { delegate: WindowHeapDelegate {
windowHeap: heap windowHeap: heap

View file

@ -200,7 +200,8 @@ Item {
minimizedWindows: !effect.ignoreMinimized minimizedWindows: !effect.ignoreMinimized
windowType: ~KWinComponents.ClientFilterModel.Dock & windowType: ~KWinComponents.ClientFilterModel.Dock &
~KWinComponents.ClientFilterModel.Desktop & ~KWinComponents.ClientFilterModel.Desktop &
~KWinComponents.ClientFilterModel.Notification ~KWinComponents.ClientFilterModel.Notification &
~KWinComponents.ClientFilterModel.CriticalNotification
} }
delegate: WindowHeapDelegate { delegate: WindowHeapDelegate {
windowHeap: heap windowHeap: heap