wayland-surface: Unmanage the window when destroying xdg_surface/xdg_popup

Also, unparent the actor when destroying a subsurface, as well, and
don't free the surface when we destroy the MetaWindow.
This commit is contained in:
Jasper St. Pierre
2013-11-26 13:04:37 -05:00
parent 602307e694
commit fe26cb5989
3 changed files with 82 additions and 24 deletions

View File

@ -95,8 +95,6 @@ MetaWaylandSurface *meta_wayland_surface_create (MetaWaylandCompositor *composit
struct wl_client *client,
guint32 id,
guint32 version);
void meta_wayland_surface_free (MetaWaylandSurface *surface);
void meta_wayland_surface_configure_notify (MetaWaylandSurface *surface,
int width,
int height,