Fix drag icon map listener not removed

This commit is contained in:
emersion 2019-02-18 13:19:58 +01:00
parent a1e171080d
commit 59f2056022
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -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);
}