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; }) ); },