aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-02-18 13:19:58 +0100
committeremersion <contact@emersion.fr>2019-02-18 13:19:58 +0100
commit59f20560223a87c5d23dfa80edcad41fb4eb8d22 (patch)
tree841d347a6fa8696e33c4bd784b5787bacae248da /sway
parenta1e171080d57d4dfda7fd793137620060d041667 (diff)
Fix drag icon map listener not removed
Diffstat (limited to 'sway')
-rw-r--r--sway/input/seat.c1
1 files changed, 1 insertions, 0 deletions
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);
}