forked from AuroraMiddleware/gtk
gdk: When reffing the impl surface, ref it from the impl window
This was causing surfaces to be created with the wrong size and that caused broken clipping. https://bugzilla.gnome.org/show_bug.cgi?id=640195
This commit is contained in:
parent
e3774b6ff2
commit
51290e0a57
@ -2677,7 +2677,7 @@ gdk_window_begin_implicit_paint (GdkWindow *window, GdkRectangle *rect)
|
||||
static cairo_surface_t *
|
||||
gdk_window_ref_impl_surface (GdkWindow *window)
|
||||
{
|
||||
return GDK_WINDOW_IMPL_GET_CLASS (window->impl)->ref_cairo_surface (window);
|
||||
return GDK_WINDOW_IMPL_GET_CLASS (window->impl)->ref_cairo_surface (gdk_window_get_impl_window (window));
|
||||
}
|
||||
|
||||
static cairo_t *
|
||||
|
Loading…
Reference in New Issue
Block a user