From a503e869cfbfd512db1a49d8068b6dc28477e821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=E1=BB=B3nh=20Thi=E1=BB=87n=20L=E1=BB=99c?= Date: Tue, 18 Aug 2026 04:28:55 +0700 Subject: [PATCH] fix(notifications): keep popup above frame chrome (#3099) --- quickshell/Modules/Notifications/Popup/NotificationPopup.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickshell/Modules/Notifications/Popup/NotificationPopup.qml b/quickshell/Modules/Notifications/Popup/NotificationPopup.qml index ff5814a77..f1dc9bb20 100644 --- a/quickshell/Modules/Notifications/Popup/NotificationPopup.qml +++ b/quickshell/Modules/Notifications/Popup/NotificationPopup.qml @@ -191,7 +191,7 @@ PanelWindow { visible: !_finalized WlrLayershell.layer: { - const shouldUseOverlay = notificationData && (SettingsData.notificationOverlayEnabled || notificationData.urgency === NotificationUrgency.Critical); + const shouldUseOverlay = CompositorService.framePeerSurfacesUseOverlayForScreen(win.screen) || (notificationData && (SettingsData.notificationOverlayEnabled || notificationData.urgency === NotificationUrgency.Critical)); const fallback = shouldUseOverlay ? WlrLayer.Overlay : WlrLayer.Top; return LayerShell.fromEnv("DMS_NOTIFICATION_LAYER", fallback); }