Revert "Simplify gdk_surface_queue_render"

This reverts commit 2120e9df88.
This commit is contained in:
Christian Hergert 2020-11-04 16:28:13 -08:00
parent ed78fb1366
commit e91b930648

View File

@ -1408,9 +1408,13 @@ impl_surface_add_update_area (GdkSurface *impl_surface,
void
gdk_surface_queue_render (GdkSurface *surface)
{
cairo_region_t *region;
g_return_if_fail (GDK_IS_SURFACE (surface));
gdk_surface_invalidate_rect (surface, NULL);
region = cairo_region_create ();
impl_surface_add_update_area (surface, region);
cairo_region_destroy (region);
}
/*