summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/notifpopups.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/notifpopups.tsx b/modules/notifpopups.tsx
index 8b95f98..7d92824 100644
--- a/modules/notifpopups.tsx
+++ b/modules/notifpopups.tsx
@@ -2,6 +2,7 @@ import { GLib, register, timeout } from "astal";
import { Astal, Gtk, Widget } from "astal/gtk3";
import AstalNotifd from "gi://AstalNotifd";
import { desktopEntrySubs } from "../utils/icons";
+import { setupChildClickthrough } from "../utils/widgets";
const urgencyToString = (urgency: AstalNotifd.Urgency) => {
switch (urgency) {
@@ -166,7 +167,7 @@ export default () => (
});
// Change input region to child region so can click through empty space
- self.connect("size-allocate", () => self.get_window()?.set_child_input_shapes());
+ setupChildClickthrough(self);
}}
/>
</window>