simple-im: fix for protocol changes

Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
Jan Arne Petersen 12 years ago committed by Kristian Høgsberg
parent 2dc3b3fc9f
commit ab2b01429e
  1. 20
      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

Loading…
Cancel
Save