summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Arne Petersen <jpetersen@openismus.com>2013-04-18 16:47:23 +0200
committerKristian Høgsberg <krh@bitplanet.net>2013-05-02 16:23:14 -0400
commit7ef8effca5278bb7fddf5cee5d4830ca9d8a80b8 (patch)
tree8ac7636efa082e78c3e55e40f196ea2b2e527596 /src
parentfa3573852d4d61aad136a7a076d286e4e2da9ac0 (diff)
text: Order requests and events in a nice way
Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
Diffstat (limited to 'src')
-rw-r--r--src/text-backend.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/text-backend.c b/src/text-backend.c
index 7d1d7d7..c083683 100644
--- a/src/text-backend.c
+++ b/src/text-backend.c
@@ -219,12 +219,12 @@ text_model_reset(struct wl_client *client,
}
static void
-text_model_set_micro_focus(struct wl_client *client,
- struct wl_resource *resource,
- int32_t x,
- int32_t y,
- int32_t width,
- int32_t height)
+text_model_set_cursor_rectangle(struct wl_client *client,
+ struct wl_resource *resource,
+ int32_t x,
+ int32_t y,
+ int32_t width,
+ int32_t height)
{
}
@@ -317,17 +317,17 @@ text_model_set_preferred_language(struct wl_client *client,
}
static const struct text_model_interface text_model_implementation = {
- text_model_set_surrounding_text,
text_model_activate,
text_model_deactivate,
+ text_model_show_input_panel,
+ text_model_hide_input_panel,
text_model_reset,
- text_model_set_micro_focus,
+ text_model_set_surrounding_text,
text_model_set_content_type,
- text_model_invoke_action,
+ text_model_set_cursor_rectangle,
+ text_model_set_preferred_language,
text_model_commit_state,
- text_model_show_input_panel,
- text_model_hide_input_panel,
- text_model_set_preferred_language
+ text_model_invoke_action
};
static void text_model_factory_create_text_model(struct wl_client *client,