forked from AuroraMiddleware/gtk
Don't unnecessarily queue resize in GtkWindow.style_updated
GtkWindow always queues a resize on style updates if there is a grip, because it may have been the grip size style properties that changed. However, even if it *were*, and it likely wasn't that would not affect the windows size request, so no need to queue a resize.
This commit is contained in:
parent
faaae520c9
commit
d3377e9d7a
@ -5735,7 +5735,6 @@ gtk_window_style_updated (GtkWidget *widget)
|
||||
rect.width, rect.height);
|
||||
|
||||
set_grip_shape (window);
|
||||
gtk_widget_queue_resize (widget);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user