Move all native children (recursively) in gdk_window_scroll

This commit is contained in:
Alexander Larsson
2008-12-18 11:43:57 +01:00
committed by Alexander Larsson
parent f6e1b0ac17
commit 4442463481
2 changed files with 5 additions and 22 deletions

View File

@ -201,17 +201,6 @@ _gdk_window_move_resize_child (GdkWindow *window,
impl = GDK_WINDOW_IMPL_X11 (GDK_WINDOW_OBJECT (window)->impl);
obj = GDK_WINDOW_OBJECT (window);
dx = x - obj->x;
dy = y - obj->y;
is_move = dx != 0 || dy != 0;
is_resize = obj->width != width || obj->height != height;
#if 0 /* Not right, doesn't take abs_x/y into consideration */
if (!is_move && !is_resize)
return;
#endif
obj->x = x;
obj->y = y;
obj->width = width;