rootston: properly emit view unmap event

master
emersion 7 years ago
parent e607d0f7ee
commit 303883ce49
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

@ -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);

Loading…
Cancel
Save