diff options
author | xdavidwu <xdavidwuph@gmail.com> | 2019-10-18 18:57:17 +0800 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-04-04 11:42:04 +0200 |
commit | 5886187c6ef56307f15be475dc62785faf32ef35 (patch) | |
tree | 535283eca78c9a4ea63f26d9a13c1df48fe2b2f6 /include/sway/input/seat.h | |
parent | swapped hiding the cursor and sending a touch event as a more logical sequence (diff) | |
download | sway-5886187c6ef56307f15be475dc62785faf32ef35.tar.gz sway-5886187c6ef56307f15be475dc62785faf32ef35.tar.zst sway-5886187c6ef56307f15be475dc62785faf32ef35.zip |
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 <leo881003@gmail.com>
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r-- | include/sway/input/seat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index 49b9d09b..6d7495dd 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h | |||
@@ -7,6 +7,7 @@ | |||
7 | #include <wlr/util/edges.h> | 7 | #include <wlr/util/edges.h> |
8 | #include "sway/config.h" | 8 | #include "sway/config.h" |
9 | #include "sway/input/input-manager.h" | 9 | #include "sway/input/input-manager.h" |
10 | #include "sway/input/text_input.h" | ||
10 | 11 | ||
11 | struct sway_seat; | 12 | struct sway_seat; |
12 | 13 | ||
@@ -86,6 +87,8 @@ struct sway_seat { | |||
86 | 87 | ||
87 | list_t *deferred_bindings; // struct sway_binding | 88 | list_t *deferred_bindings; // struct sway_binding |
88 | 89 | ||
90 | struct sway_input_method_relay im_relay; | ||
91 | |||
89 | struct wl_listener focus_destroy; | 92 | struct wl_listener focus_destroy; |
90 | struct wl_listener new_node; | 93 | struct wl_listener new_node; |
91 | struct wl_listener request_start_drag; | 94 | struct wl_listener request_start_drag; |