mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
Damage drag icon when destroyed
This fixes the drag icon not disappearing when releasing the pointer button. Reproduction steps: - Open gedit - Drag some text around - Release the pointer button
This commit is contained in:
parent
cdb1cdf3b4
commit
5424a35aba
1 changed files with 1 additions and 0 deletions
1
seat.c
1
seat.c
|
|
@ -642,6 +642,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