input/cursor: remove tool_proximity listener in destroy

This commit is contained in:
Attila Fidan 2025-01-27 05:13:24 +00:00
parent 3ff60987f3
commit 44b918b6f9
No known key found for this signature in database
GPG key ID: 6D8AFE438CCD44F6

View file

@ -1047,6 +1047,7 @@ void sway_cursor_destroy(struct sway_cursor *cursor) {
wl_list_remove(&cursor->touch_frame.link); wl_list_remove(&cursor->touch_frame.link);
wl_list_remove(&cursor->tool_axis.link); wl_list_remove(&cursor->tool_axis.link);
wl_list_remove(&cursor->tool_tip.link); wl_list_remove(&cursor->tool_tip.link);
wl_list_remove(&cursor->tool_proximity.link);
wl_list_remove(&cursor->tool_button.link); wl_list_remove(&cursor->tool_button.link);
wl_list_remove(&cursor->request_set_cursor.link); wl_list_remove(&cursor->request_set_cursor.link);