Call backend move_resize with the right coords/size

We calculated and set the new position and size, just pass that.
This avoids parsing the "special values" again
This commit is contained in:
Alexander Larsson 2009-01-20 23:34:00 +01:00 committed by Alexander Larsson
parent 5fa1855a83
commit 1084b8e6a1

View File

@ -6055,7 +6055,7 @@ gdk_window_move_resize_internal (GdkWindow *window,
{
/* Do the actual move after recomputing things, as this will have set the shape to
the now correct one, thus avoiding copying regions that should not be copied. */
GDK_WINDOW_IMPL_GET_IFACE (private->impl)->move_resize (window, with_move, x, y, width, height);
GDK_WINDOW_IMPL_GET_IFACE (private->impl)->move_resize (window, TRUE, private->x, private->y, private->width, private->height);
}
else if (old_abs_x != private->abs_x ||
old_abs_y != private->abs_y)