compositor: Emit destroy signal when we manually destroy a weston_surface
This commit is contained in:
parent
633b14505c
commit
9a050afc06
@ -718,6 +718,8 @@ weston_surface_destroy(struct weston_surface *surface)
|
||||
/* Not a valid way to destroy a client surface */
|
||||
assert(surface->surface.resource.client == NULL);
|
||||
|
||||
wl_signal_emit(&surface->surface.resource.destroy_signal,
|
||||
&surface->surface.resource);
|
||||
destroy_surface(&surface->surface.resource);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user