mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-03 17:21:11 +00:00
window: Don't lose position information
Before calling gdk_window_move_resize(), store the full configure request, not just width and height. Fixes firefox randomly losing position of its dropdown windows. https://bugzilla.gnome.org/show_bug.cgi?id=758609
This commit is contained in:
parent
415030d25f
commit
923ad2767a
@ -6121,8 +6121,7 @@ gtk_window_show (GtkWidget *widget)
|
||||
* and gdk_window_resize() below, rather than
|
||||
* queuing it.
|
||||
*/
|
||||
info->last.configure_request.width = configure_request.width;
|
||||
info->last.configure_request.height = configure_request.height;
|
||||
info->last.configure_request = configure_request;
|
||||
|
||||
/* and allocate the window - this is normally done
|
||||
* in move_resize in response to configure notify
|
||||
|
Loading…
Reference in New Issue
Block a user