mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
x11: When querying window size, ask the wrapper, not ourselves
This commit is contained in:
parent
7c62a44324
commit
5625c20759
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user