diff options
author | emersion <contact@emersion.fr> | 2018-03-12 09:00:59 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-03-12 09:00:59 +0100 |
commit | 1f8854f2172b124572f53976b9067fc4ef33a8a1 (patch) | |
tree | dcb9d378c5abcdda6ad14285243670ee84275350 | |
parent | 3f072bedd98969974ec1d3e8ffd9bae4150e52d4 (diff) |
rootston: remove xdg-shell-v6 map/unmap listeners on destroy
-rw-r--r-- | rootston/xdg_shell_v6.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/xdg_shell_v6.c b/rootston/xdg_shell_v6.c index 4591f642..12e22afb 100644 --- a/rootston/xdg_shell_v6.c +++ b/rootston/xdg_shell_v6.c @@ -309,6 +309,8 @@ static void handle_destroy(struct wl_listener *listener, void *data) { wl_list_remove(&roots_xdg_surface->surface_commit.link); wl_list_remove(&roots_xdg_surface->destroy.link); wl_list_remove(&roots_xdg_surface->new_popup.link); + wl_list_remove(&roots_xdg_surface->map.link); + wl_list_remove(&roots_xdg_surface->unmap.link); wl_list_remove(&roots_xdg_surface->request_move.link); wl_list_remove(&roots_xdg_surface->request_resize.link); wl_list_remove(&roots_xdg_surface->request_maximize.link); |