From d093c2e3583e785cb308bec74c08a61e8808faf6 Mon Sep 17 00:00:00 2001 From: Attila Fidan Date: Mon, 27 Jan 2025 05:13:24 +0000 Subject: [PATCH] input/cursor: remove tool_proximity listener in destroy --- sway/input/cursor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/input/cursor.c b/sway/input/cursor.c index e8c451183..1fd57ec4e 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -1047,6 +1047,7 @@ void sway_cursor_destroy(struct sway_cursor *cursor) { wl_list_remove(&cursor->touch_frame.link); wl_list_remove(&cursor->tool_axis.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->request_set_cursor.link);