From b4bacd258dac3e1cbad6321ceea61607bd893937 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Thu, 25 Jun 2015 15:49:47 -0500 Subject: [PATCH] text: Launch input method in text_backend_init Previously we tried to launch the input method every time a seat was created, and the launch function would notice it was running and not bother to actually launch. Signed-off-by: Derek Foreman --- src/text-backend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/text-backend.c b/src/text-backend.c index cd6c4d99..c018803b 100644 --- a/src/text-backend.c +++ b/src/text-backend.c @@ -1005,8 +1005,6 @@ text_backend_seat_created(struct text_backend *text_backend, wl_signal_add(&seat->destroy_signal, &input_method->destroy_listener); seat->input_method = input_method; - - launch_input_method(text_backend); } static void @@ -1071,5 +1069,7 @@ text_backend_init(struct weston_compositor *ec) text_input_manager_create(ec); + launch_input_method(text_backend); + return text_backend; }