move text_backend initialization into the shell plugin

Whether a input method is used should be the responsibility
of the shell because some shells may not want to implement
an input method at all

Signed-off-by: Murray Calavera <murray.calavera@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Murray Calavera
2015-06-10 21:16:02 +00:00
committed by Pekka Paalanen
parent 2588124cc3
commit 9a51cd7d10
3 changed files with 6 additions and 2 deletions
-2
View File
@@ -4578,8 +4578,6 @@ weston_compositor_init(struct weston_compositor *ec,
weston_config_section_get_int(s, "repeat-delay",
&ec->kb_repeat_delay, 400);
text_backend_init(ec);
wl_data_device_manager_init(ec->wl_display);
wl_display_init_shm(display);