From 5886187c6ef56307f15be475dc62785faf32ef35 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Fri, 18 Oct 2019 18:57:17 +0800 Subject: Port input method and text input from rootston This ports swaywm/wlroots#1203, swaywm/wlroots#1303, swaywm/wlroots#1308, swaywm/wlroots#1759 rootston part to sway. Co-Authored-By: Leo Chen --- sway/server.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sway/server.c') diff --git a/sway/server.c b/sway/server.c index 9be073a0..3f658598 100644 --- a/sway/server.c +++ b/sway/server.c @@ -138,6 +138,8 @@ bool server_init(struct sway_server *server) { handle_output_power_manager_set_mode; wl_signal_add(&server->output_power_manager_v1->events.set_mode, &server->output_power_manager_set_mode); + server->input_method = wlr_input_method_manager_v2_create(server->wl_display); + server->text_input = wlr_text_input_manager_v3_create(server->wl_display); wlr_export_dmabuf_manager_v1_create(server->wl_display); wlr_screencopy_manager_v1_create(server->wl_display); -- cgit v1.2.3