forked from AuroraMiddleware/gtk
x11: Query size on real drawable
The X11 drawable does not have a clue about the real size of the surface. This might also be the cause for: https://bugzilla.gnome.org/show_bug.cgi?id=599574
This commit is contained in:
parent
fafc457a01
commit
e1c7ff8ee0
@ -1584,7 +1584,7 @@ gdk_x11_ref_cairo_surface (GdkDrawable *drawable)
|
||||
{
|
||||
int width, height;
|
||||
|
||||
gdk_drawable_get_size (drawable, &width, &height);
|
||||
gdk_drawable_get_size (impl->wrapper, &width, &height);
|
||||
|
||||
impl->cairo_surface = _gdk_windowing_create_cairo_surface (drawable, width, height);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user