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 <derekf@osg.samsung.com>
This commit is contained in:
Derek Foreman 2015-06-25 15:49:47 -05:00 committed by Bryce Harrington
parent e7d868aaad
commit b4bacd258d

View File

@ -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;
}