From 5625c20759f63747b637c1673ec1ad8afbdd88e7 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 9 Sep 2010 02:14:19 +0200 Subject: [PATCH] x11: When querying window size, ask the wrapper, not ourselves --- gdk/x11/gdkdrawable-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/x11/gdkdrawable-x11.c b/gdk/x11/gdkdrawable-x11.c index c8a38f4d87..433add41b2 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); } }