From ab2b01429e4295395d312552b041d4c477b709d7 Mon Sep 17 00:00:00 2001 From: Jan Arne Petersen Date: Wed, 16 Jan 2013 21:26:49 +0100 Subject: [PATCH] simple-im: fix for protocol changes Signed-off-by: Jan Arne Petersen --- 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 1bf9713..d038382 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 -- 2.7.4