diff --git a/sway/input/text_input.c b/sway/input/text_input.c index c907585fe..8dc64f019 100644 --- a/sway/input/text_input.c +++ b/sway/input/text_input.c @@ -648,7 +648,7 @@ void sway_input_method_relay_init(struct sway_seat *seat, relay->input_method_new.notify = relay_handle_input_method; wl_signal_add( - &server.input_method->events.input_method, + &server.input_method->events.new_input_method, &relay->input_method_new); relay->input_method_manager_destroy.notify = relay_handle_input_method_manager_destroy; wl_signal_add(&server.input_method->events.destroy,