window: allocation x/y is 0,0

This was incorrect in 97ba4b1b8e.
This commit is contained in:
Benjamin Otte 2013-01-17 20:52:50 +01:00
parent 2c3b9a89a9
commit e84ed710a2

View File

@ -7171,7 +7171,8 @@ gtk_window_move_resize (GtkWindow *window)
&new_geometry,
new_flags);
gdk_window_get_position (gdk_window, &allocation.x, &allocation.y);
allocation.x = 0;
allocation.y = 0;
allocation.width = gdk_window_get_width (gdk_window);
allocation.height = gdk_window_get_height (gdk_window);