diff options
Diffstat (limited to 'sway/input/text_input.c')
-rw-r--r-- | sway/input/text_input.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/input/text_input.c b/sway/input/text_input.c index 2fb25eef..f83726ee 100644 --- a/sway/input/text_input.c +++ b/sway/input/text_input.c | |||
@@ -263,6 +263,11 @@ void sway_input_method_relay_init(struct sway_seat *seat, | |||
263 | &relay->input_method_new); | 263 | &relay->input_method_new); |
264 | } | 264 | } |
265 | 265 | ||
266 | void sway_input_method_relay_finish(struct sway_input_method_relay *relay) { | ||
267 | wl_list_remove(&relay->input_method_new.link); | ||
268 | wl_list_remove(&relay->text_input_new.link); | ||
269 | } | ||
270 | |||
266 | void sway_input_method_relay_set_focus(struct sway_input_method_relay *relay, | 271 | void sway_input_method_relay_set_focus(struct sway_input_method_relay *relay, |
267 | struct wlr_surface *surface) { | 272 | struct wlr_surface *surface) { |
268 | struct sway_text_input *text_input; | 273 | struct sway_text_input *text_input; |