ui/gtk/window.c

changeset 764
5ff4b9c0cf96
parent 763
258ec399fbe6
child 770
521ecd0a0e7b
--- 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) {

mercurial