mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 10:29:49 +01:00
rootston: properly emit view unmap event
This commit is contained in:
parent
e607d0f7ee
commit
303883ce49
1 changed files with 2 additions and 0 deletions
|
@ -459,6 +459,8 @@ void view_map(struct roots_view *view, struct wlr_surface *surface) {
|
||||||
void view_unmap(struct roots_view *view) {
|
void view_unmap(struct roots_view *view) {
|
||||||
assert(view->wlr_surface != NULL);
|
assert(view->wlr_surface != NULL);
|
||||||
|
|
||||||
|
wl_signal_emit(&view->events.unmap, view);
|
||||||
|
|
||||||
view_damage_whole(view);
|
view_damage_whole(view);
|
||||||
wl_list_remove(&view->link);
|
wl_list_remove(&view->link);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue