[gtk+/rendering-cleanup-next: 130/153] x11: When querying window size, ask the wrapper, not ourselves



commit 5b2bd9e87c6257f1efec810981741a26a8975985
Author: Benjamin Otte <otte redhat com>
Date:   Thu Sep 9 02:14:19 2010 +0200

    x11: When querying window size, ask the wrapper, not ourselves

 gdk/x11/gdkdrawable-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkdrawable-x11.c b/gdk/x11/gdkdrawable-x11.c
index c8a38f4..433add4 100644
--- a/gdk/x11/gdkdrawable-x11.c
+++ b/gdk/x11/gdkdrawable-x11.c
@@ -97,7 +97,7 @@ _gdk_x11_drawable_update_size (GdkDrawable *drawable)
     {
       int width, height;
       
-      gdk_drawable_get_size (drawable, &width, &height);
+      gdk_drawable_get_size (impl->wrapper, &width, &height);
       cairo_xlib_surface_set_size (impl->cairo_surface, width, height);
     }
 }



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