aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/text_input.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/input/text_input.h')
-rw-r--r--include/sway/input/text_input.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/sway/input/text_input.h b/include/sway/input/text_input.h
index 6cf9bdb3..214e61d1 100644
--- a/include/sway/input/text_input.h
+++ b/include/sway/input/text_input.h
@@ -3,13 +3,12 @@
3 3
4#include <wlr/types/wlr_text_input_v3.h> 4#include <wlr/types/wlr_text_input_v3.h>
5#include <wlr/types/wlr_input_method_v2.h> 5#include <wlr/types/wlr_input_method_v2.h>
6#include <wlr/types/wlr_surface.h> 6#include <wlr/types/wlr_compositor.h>
7#include "sway/input/seat.h"
8 7
9/** 8/**
10 * The relay structure manages the relationship between text-input and 9 * The relay structure manages the relationship between text-input and
11 * input_method interfaces on a given seat. Multiple text-input interfaces may 10 * input_method interfaces on a given seat. Multiple text-input interfaces may
12 * be bound to a relay, but at most one will be focused (reveiving events) at 11 * be bound to a relay, but at most one will be focused (receiving events) at
13 * a time. At most one input-method interface may be bound to the seat. The 12 * a time. At most one input-method interface may be bound to the seat. The
14 * relay manages life cycle of both sides. When both sides are present and 13 * relay manages life cycle of both sides. When both sides are present and
15 * focused, the relay passes messages between them. 14 * focused, the relay passes messages between them.
@@ -28,7 +27,10 @@ struct sway_input_method_relay {
28 27
29 struct wl_listener input_method_new; 28 struct wl_listener input_method_new;
30 struct wl_listener input_method_commit; 29 struct wl_listener input_method_commit;
30 struct wl_listener input_method_grab_keyboard;
31 struct wl_listener input_method_destroy; 31 struct wl_listener input_method_destroy;
32
33 struct wl_listener input_method_keyboard_grab_destroy;
32}; 34};
33 35
34struct sway_text_input { 36struct sway_text_input {