mirror of
https://github.com/swaywm/sway.git
synced 2026-04-19 06:46:40 -04:00
text_input: Implement input-method popups
Co-authored-by: tadeokondrak <me@tadeo.ca>
This commit is contained in:
parent
d19810eba8
commit
7c11c463a3
4 changed files with 253 additions and 1 deletions
|
|
@ -21,18 +21,21 @@ struct sway_input_method_relay {
|
|||
struct sway_seat *seat;
|
||||
|
||||
struct wl_list text_inputs; // sway_text_input::link
|
||||
struct wl_list input_popups; // sway_input_popup::link
|
||||
struct wlr_input_method_v2 *input_method; // doesn't have to be present
|
||||
|
||||
struct wl_listener text_input_new;
|
||||
|
||||
struct wl_listener input_method_new;
|
||||
struct wl_listener input_method_commit;
|
||||
struct wl_listener input_method_new_popup_surface;
|
||||
struct wl_listener input_method_grab_keyboard;
|
||||
struct wl_listener input_method_destroy;
|
||||
|
||||
struct wl_listener input_method_keyboard_grab_destroy;
|
||||
};
|
||||
|
||||
|
||||
struct sway_text_input {
|
||||
struct sway_input_method_relay *relay;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue