mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
gtkwindow: Remove an unnecessary set of grip setting
We already update the grip position in _gtk_window_set_allocation, which is done through the size_allocate above. Receiving a ConfigureNotify also won't ever change a grip's visibility, so there's no point in refreshing it.
This commit is contained in:
parent
6926821ae1
commit
35f618e71d
@ -9339,9 +9339,6 @@ gtk_window_move_resize (GtkWindow *window)
|
||||
/* gtk_window_configure_event() filled in widget->allocation */
|
||||
gtk_widget_size_allocate (widget, &allocation);
|
||||
|
||||
set_grip_position (window);
|
||||
update_grip_visibility (window);
|
||||
|
||||
/* If the configure request changed, it means that
|
||||
* we either:
|
||||
* 1) coincidentally changed hints or widget properties
|
||||
|
Loading…
Reference in New Issue
Block a user