aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-15 21:47:20 +0100
committeremersion <contact@emersion.fr>2018-03-15 21:47:20 +0100
commit303883ce49b81438c8653991f40e72b0481e27cf (patch)
tree88d058440425008295c8817f20d8560cef989064
parente607d0f7ee00c59354c996fc98e738c26adbca58 (diff)
rootston: properly emit view unmap event
-rw-r--r--rootston/desktop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index e9a9425c..78076e75 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -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);