diff --git a/ags/widget/Notification.ts b/ags/widget/Notification.ts index e58fd9d..2d3eb38 100644 --- a/ags/widget/Notification.ts +++ b/ags/widget/Notification.ts @@ -59,7 +59,7 @@ export function NotificationWidget(notification: AstalNotifd.Notification|number onClose?.(notification); }, onHover: () => holdOnHover && Notifications.getDefault().holdNotification(notification.id), - onHoverLost: () => onClose?.(notification), + onHoverLost: () => holdOnHover && onClose?.(notification), hexpand: true, vexpand: false, child: new Widget.Box({