diff options
author | Access <ShootingStarDragons@protonmail.com> | 2024-02-20 17:53:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 10:53:20 +0100 |
commit | 7c11c463a3e7f821ed9f3c6de59e37358441952e (patch) | |
tree | 1b57ec2c30b93269391490ffae0f84d0e8016218 /include/sway/input/text_input.h | |
parent | d19810eba8959f052d91fd6609cef6adf36b3951 (diff) |
text_input: Implement input-method popups
Co-authored-by: tadeokondrak <me@tadeo.ca>
Diffstat (limited to 'include/sway/input/text_input.h')
-rw-r--r-- | include/sway/input/text_input.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/input/text_input.h b/include/sway/input/text_input.h index 214e61d1..1993f928 100644 --- a/include/sway/input/text_input.h +++ b/include/sway/input/text_input.h @@ -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; |