From 59f20560223a87c5d23dfa80edcad41fb4eb8d22 Mon Sep 17 00:00:00 2001 From: emersion Date: Mon, 18 Feb 2019 13:19:58 +0100 Subject: [PATCH] Fix drag icon map listener not removed --- sway/input/seat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/input/seat.c b/sway/input/seat.c index df48b751..69b04843 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -287,6 +287,7 @@ static void drag_icon_handle_destroy(struct wl_listener *listener, void *data) { wl_list_remove(&icon->link); wl_list_remove(&icon->surface_commit.link); wl_list_remove(&icon->unmap.link); + wl_list_remove(&icon->map.link); wl_list_remove(&icon->destroy.link); free(icon); }