feat: support input method

The ime.c is basically derived from sway's text_input.c.
This commit is contained in:
chirsz-ever 2025-03-10 04:26:38 +08:00
parent a1e5bf3789
commit 69396dc249
9 changed files with 960 additions and 19 deletions

View file

@ -70,6 +70,12 @@ struct cg_server {
struct wlr_foreign_toplevel_manager_v1 *foreign_toplevel_manager;
struct wlr_input_method_manager_v2 *input_method_manager_v2;
struct wl_listener new_input_method;
struct wlr_text_input_manager_v3 *text_input_manager_v3;
struct wl_listener new_text_input;
bool xdg_decoration;
bool allow_vt_switch;
bool return_app_code;