Merge pull request #3714 from emersion/fix-drag-icon-map-listener

Fix drag icon map listener not removed
master
Drew DeVault 6 years ago committed by GitHub
commit c939453bea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save