diff --git a/ags/widget/BackgroundWindow.tsx b/ags/widget/BackgroundWindow.tsx index 88fcf05..74c3fdb 100644 --- a/ags/widget/BackgroundWindow.tsx +++ b/ags/widget/BackgroundWindow.tsx @@ -21,6 +21,7 @@ export type BackgroundWindowProps = { actionClickPrimary?: (window: Astal.Window) => void; /** Function that is called when the user clicks on the window with secodary mouse button */ actionClickSecondary?: (window: Astal.Window) => void; + onCloseRequest?: (window: Astal.Window) => void; keymode?: Astal.Keymode; exclusivity?: Astal.Exclusivity; @@ -42,7 +43,7 @@ export function BackgroundWindow(props: BackgroundWindowProps): Astal.Window { return { const gestureClick = Gtk.GestureClick.new(),