From f57f254855d69dfd3fd27665b71e3dbe602f4ba3 Mon Sep 17 00:00:00 2001 From: bbedward Date: Fri, 24 Jul 2026 14:35:14 -0400 Subject: [PATCH] notification: clip region on animation exit related #2917 port 1.5 --- .../Modules/Notifications/Popup/NotificationPopup.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/quickshell/Modules/Notifications/Popup/NotificationPopup.qml b/quickshell/Modules/Notifications/Popup/NotificationPopup.qml index 5896e9867..ff5814a77 100644 --- a/quickshell/Modules/Notifications/Popup/NotificationPopup.qml +++ b/quickshell/Modules/Notifications/Popup/NotificationPopup.qml @@ -45,6 +45,14 @@ PanelWindow { blurWidth: !win._finalized && !win.connectedFrameMode ? innerW * s : 0 blurHeight: !win._finalized && !win.connectedFrameMode ? innerH * s : 0 blurRadius: win.connectedFrameMode ? Theme.connectedSurfaceRadius : Theme.cornerRadius + // Slide-out translates the card past the surface edge; intersecting with the + // resting bounds keeps the committed region on the visible content instead of + // leaving a stray blur sliver at the edge (#2917). + clipEnabled: true + clipX: content.x + content.cardInset + clipY: content.y + content.cardInset + clipWidth: innerW + clipHeight: innerH } WlrLayershell.namespace: "dms:notification-popup"