[broadway] NULL out ref_surface on resize too

This commit is contained in:
Alexander Larsson 2010-11-23 12:51:45 +01:00
parent 2e1f6e09e5
commit 65f767a363

View File

@ -113,6 +113,13 @@ _gdk_broadway_drawable_update_size (GdkDrawable *drawable)
cairo_surface_destroy (old);
cairo_surface_destroy (last_old);
}
if (impl->ref_surface)
{
cairo_surface_set_user_data (impl->ref_surface, &gdk_broadway_cairo_key,
NULL, NULL);
impl->ref_surface = NULL;
}
}
/*****************************************************