wayland-surface: Repick after cleaning up everything else

Just a code cleanup to keep all the freeing code together.
This commit is contained in:
Jasper St. Pierre 2014-02-01 16:29:36 -05:00
parent 1f7a6bf845
commit 3e35cac67a

View File

@ -518,14 +518,12 @@ meta_wayland_surface_free (MetaWaylandSurface *surface)
meta_wayland_buffer_reference (&surface->buffer_ref, NULL);
double_buffered_state_destroy (&surface->pending);
meta_wayland_compositor_repick (compositor);
g_object_unref (surface->surface_actor);
if (surface->resource)
wl_resource_set_user_data (surface->resource, NULL);
g_slice_free (MetaWaylandSurface, surface);
meta_wayland_compositor_repick (compositor);
}
static void