[gtk+/client-side-windows: 101/284] Call backend move_resize with the right coords/size



commit 1084b8e6a132311e42234e02434e15598a2e96c3
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Jan 20 23:34:00 2009 +0100

    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
---
 gdk/gdkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 3122628..8da989c 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]