summaryrefslogtreecommitdiff
path: root/src/text-backend.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2015-06-25 15:49:47 -0500
committerBryce Harrington <bryce@osg.samsung.com>2015-09-24 13:50:08 -0700
commitb4bacd258dac3e1cbad6321ceea61607bd893937 (patch)
tree755a41586c7f36d636358784f42e453d83557c80 /src/text-backend.c
parente7d868aaad280531f0adc5e180399f7915d00636 (diff)
downloadweston-b4bacd258dac3e1cbad6321ceea61607bd893937.tar.gz
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>
Diffstat (limited to 'src/text-backend.c')
-rw-r--r--src/text-backend.c4
1 files 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;
}