From d1daba8aac2c1735d38cba446450e5372b997f9d Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Tue, 25 Mar 2025 12:59:36 +1100
Subject: notifpopups: destroy event wrapper

Destroy the eventbox wrapper when notif widget is destroyed
---
 src/modules/notifpopups.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/modules/notifpopups.tsx')

diff --git a/src/modules/notifpopups.tsx b/src/modules/notifpopups.tsx
index 9d461b1..bf253c1 100644
--- a/src/modules/notifpopups.tsx
+++ b/src/modules/notifpopups.tsx
@@ -42,6 +42,7 @@ export default () => (
                             }}
                             // Close on hover lost
                             onHoverLost={() => popup.destroyWithAnims()}
+                            setup={self => self.hook(popup, "destroy", () => self.destroy())}
                         >
                             {popup}
                         </eventbox>
-- 
cgit v1.2.3-freya

