[PATCH weston 1/3] text: Launch input method in text_backend_init
Derek Foreman
derekf at osg.samsung.com
Thu Jun 25 13:49:47 PDT 2015
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 at osg.samsung.com>
---
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 9485f7e..397c51b 100644
--- a/src/text-backend.c
+++ b/src/text-backend.c
@@ -1002,8 +1002,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
@@ -1068,5 +1066,7 @@ text_backend_init(struct weston_compositor *ec)
text_input_manager_create(ec);
+ launch_input_method(text_backend);
+
return text_backend;
}
--
2.1.4
More information about the wayland-devel
mailing list