rootston: properly emit view unmap event

This commit is contained in:
emersion 2018-03-15 21:47:20 +01:00
parent e607d0f7ee
commit 303883ce49
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -459,6 +459,8 @@ void view_map(struct roots_view *view, struct wlr_surface *surface) {
void view_unmap(struct roots_view *view) {
assert(view->wlr_surface != NULL);
wl_signal_emit(&view->events.unmap, view);
view_damage_whole(view);
wl_list_remove(&view->link);