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:
Benjamin Otte 2015-11-25 15:25:55 +01:00
parent 415030d25f
commit 923ad2767a

View File

@ -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