Commit 5625c207 authored by Benjamin Otte's avatar Benjamin Otte
Browse files

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

parent 7c62a443
......@@ -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);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment