diff -r 258ec399fbe6 -r 5ff4b9c0cf96 ui/gtk/window.c --- a/ui/gtk/window.c Sat Sep 13 19:53:50 2025 +0200 +++ b/ui/gtk/window.c Sun Sep 14 18:32:26 2025 +0200 @@ -338,6 +338,11 @@ height); } +void ui_window_default_size(UiObject *obj, int width, int height) { + window_default_width = width; + window_default_height = height; +} + #ifdef UI_LIBADWAITA static void dialog_response(AdwAlertDialog *self, gchar *response, UiEventData *data) {