[PATCH 1/3] simple-im: fix for protocol changes
Jan Arne Petersen
jpetersen at openismus.com
Thu Dec 6 06:52:09 PST 2012
From: Jan Arne Petersen <jpetersen at openismus.com>
Signed-off-by: Jan Arne Petersen <jpetersen at openismus.com>
---
clients/weston-simple-im.c | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/clients/weston-simple-im.c b/clients/weston-simple-im.c
index bb01332..cb91aeb 100644
--- a/clients/weston-simple-im.c
+++ b/clients/weston-simple-im.c
@@ -124,9 +124,27 @@ input_method_context_reset(void *data,
keyboard->serial = serial;
}
+static void
+input_method_context_content_type(void *data,
+ struct input_method_context *context,
+ uint32_t hint,
+ uint32_t purpose)
+{
+}
+
+static void
+input_method_context_invoke_action(void *data,
+ struct input_method_context *context,
+ uint32_t button,
+ uint32_t index)
+{
+}
+
static const struct input_method_context_listener input_method_context_listener = {
input_method_context_surrounding_text,
- input_method_context_reset
+ input_method_context_reset,
+ input_method_context_content_type,
+ input_method_context_invoke_action
};
static void
--
1.7.11.7
More information about the wayland-devel
mailing list