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

This commit is contained in:
Benjamin Otte 2010-09-09 02:14:19 +02:00
parent 7c62a44324
commit 5625c20759

View File

@ -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);
}
}