diff options
-rw-r--r-- | sway/input/text_input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/input/text_input.c b/sway/input/text_input.c index ad760a6f..5e96c3a8 100644 --- a/sway/input/text_input.c +++ b/sway/input/text_input.c | |||
@@ -109,6 +109,9 @@ static void handle_im_destroy(struct wl_listener *listener, void *data) { | |||
109 | input_method_destroy); | 109 | input_method_destroy); |
110 | struct wlr_input_method_v2 *context = data; | 110 | struct wlr_input_method_v2 *context = data; |
111 | assert(context == relay->input_method); | 111 | assert(context == relay->input_method); |
112 | wl_list_remove(&relay->input_method_commit.link); | ||
113 | wl_list_remove(&relay->input_method_grab_keyboard.link); | ||
114 | wl_list_remove(&relay->input_method_destroy.link); | ||
112 | wl_list_remove(&relay->input_method_new_popup_surface.link); | 115 | wl_list_remove(&relay->input_method_new_popup_surface.link); |
113 | relay->input_method = NULL; | 116 | relay->input_method = NULL; |
114 | struct sway_text_input *text_input = relay_get_focused_text_input(relay); | 117 | struct sway_text_input *text_input = relay_get_focused_text_input(relay); |