summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-25 12:59:36 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-25 12:59:36 +1100
commitd1daba8aac2c1735d38cba446450e5372b997f9d (patch)
treef14e45868c3cd6f01a7c62ca3f29ee6f87ab076c
parentstyle: more transparency when light mode (diff)
downloadcaelestia-shell-d1daba8aac2c1735d38cba446450e5372b997f9d.tar.gz
caelestia-shell-d1daba8aac2c1735d38cba446450e5372b997f9d.tar.bz2
caelestia-shell-d1daba8aac2c1735d38cba446450e5372b997f9d.zip
notifpopups: destroy event wrapper
Destroy the eventbox wrapper when notif widget is destroyed
-rw-r--r--src/modules/notifpopups.tsx1
1 files changed, 1 insertions, 0 deletions
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>