diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-13 17:38:04 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-13 17:38:04 +1100 |
| commit | 6a66214b8f4ff94566ced5b535ced0d63cd6c650 (patch) | |
| tree | be7b99825e2ef128c6753cefe7ea86557e6aedcd /modules | |
| parent | notifpopups: fix app icon (diff) | |
| download | caelestia-shell-6a66214b8f4ff94566ced5b535ced0d63cd6c650.tar.gz caelestia-shell-6a66214b8f4ff94566ced5b535ced0d63cd6c650.tar.bz2 caelestia-shell-6a66214b8f4ff94566ced5b535ced0d63cd6c650.zip | |
less border
Less border for notification popups and menu
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/notifpopups.tsx | 3 |
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> |