mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-21 13:04:18 +02:00
Fix drag icon destroying
This commit is contained in:
parent
86b04cd154
commit
36d1f9bb6d
1 changed files with 1 additions and 0 deletions
1
seat.c
1
seat.c
|
|
@ -731,6 +731,7 @@ handle_drag_icon_destroy(struct wl_listener *listener, void *_data) {
|
|||
struct cg_drag_icon *drag_icon =
|
||||
wl_container_of(listener, drag_icon, destroy);
|
||||
|
||||
drag_icon_damage(drag_icon);
|
||||
wl_list_remove(&drag_icon->link);
|
||||
wl_list_remove(&drag_icon->destroy.link);
|
||||
free(drag_icon);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue