mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-28 22:23:42 +01:00
Merge pull request #3714 from emersion/fix-drag-icon-map-listener
Fix drag icon map listener not removed
This commit is contained in:
commit
c939453bea
1 changed files with 1 additions and 0 deletions
|
@ -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->link);
|
||||||
wl_list_remove(&icon->surface_commit.link);
|
wl_list_remove(&icon->surface_commit.link);
|
||||||
wl_list_remove(&icon->unmap.link);
|
wl_list_remove(&icon->unmap.link);
|
||||||
|
wl_list_remove(&icon->map.link);
|
||||||
wl_list_remove(&icon->destroy.link);
|
wl_list_remove(&icon->destroy.link);
|
||||||
free(icon);
|
free(icon);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue