From 6a66214b8f4ff94566ced5b535ced0d63cd6c650 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 13 Jan 2025 17:38:04 +1100 Subject: less border Less border for notification popups and menu --- modules/notifpopups.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules') 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); }} /> -- cgit v1.2.3-freya