From d42642d685978478c2400a54ae61750cd77fc68b Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Sat, 22 Mar 2025 08:44:50 -0300 Subject: [PATCH] :boom: ags(notifications): unfocus notifications window when notificaiton is removed --- ags/window/FloatingNotifications.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ags/window/FloatingNotifications.ts b/ags/window/FloatingNotifications.ts index b62f865..20fac89 100644 --- a/ags/window/FloatingNotifications.ts +++ b/ags/window/FloatingNotifications.ts @@ -22,6 +22,7 @@ export const FloatingNotifications: Widget.Window = new Widget.Window({ }), Notifications.getDefault().connect("notification-removed", (_: Notifications, _id: number) => { window.is_visible() && _.notifications.length === 0 && window.hide() + window.isFocus = false; }) ); },