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 360e259ca5
commit d2316a3407
No known key found for this signature in database
GPG key ID: FF0569CF49B33CE3
9 changed files with 960 additions and 19 deletions

View file

@ -61,6 +61,12 @@ struct cg_server {
struct wlr_relative_pointer_manager_v1 *relative_pointer_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;