window: Make resizeability changes work
authorMatthias Clasen <mclasen@redhat.com>
Thu, 19 Aug 2021 20:03:58 +0000 (16:03 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 19 Aug 2021 20:03:58 +0000 (16:03 -0400)
We were forgetting to update the toplevel
properties here.

gtk/gtkwindow.c

index 700b8dc88a46865730309aac78f8a90bbe903411..57f2484d44490385fb6383ff6ce8c7ab8119e783 100644 (file)
@@ -5580,6 +5580,9 @@ gtk_window_set_resizable (GtkWindow *window,
 
       update_window_actions (window);
 
+      gtk_window_update_toplevel (window,
+                                  gtk_window_compute_base_layout (window));
+
       gtk_widget_queue_resize (GTK_WIDGET (window));
 
       g_object_notify_by_pspec (G_OBJECT (window), window_props[PROP_RESIZABLE]);