text: Remove unused requests/events
Put them back in, when we know what arguments they will have. Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
This commit is contained in:
parent
ffbb20f730
commit
f255165bd4
|
@ -335,24 +335,6 @@ text_model_keysym(void *data,
|
|||
fprintf(stderr, "%s key was %s.\n", key_label, state_label);
|
||||
}
|
||||
|
||||
static void
|
||||
text_model_selection_replacement(void *data,
|
||||
struct text_model *text_model)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
text_model_direction(void *data,
|
||||
struct text_model *text_model)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
text_model_locale(void *data,
|
||||
struct text_model *text_model)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
text_model_enter(void *data,
|
||||
struct text_model *text_model,
|
||||
|
@ -389,9 +371,6 @@ static const struct text_model_listener text_model_listener = {
|
|||
text_model_preedit_cursor,
|
||||
text_model_modifiers_map,
|
||||
text_model_keysym,
|
||||
text_model_selection_replacement,
|
||||
text_model_direction,
|
||||
text_model_locale,
|
||||
text_model_enter,
|
||||
text_model_leave
|
||||
};
|
||||
|
|
|
@ -82,7 +82,6 @@
|
|||
<arg name="width" type="int"/>
|
||||
<arg name="height" type="int"/>
|
||||
</request>
|
||||
<request name="set_preedit"/>
|
||||
<enum name="content_hint">
|
||||
<description summary="content hint">
|
||||
Content hint is a bitmask to allow to modify the behavior of the text input
|
||||
|
@ -233,9 +232,6 @@
|
|||
<arg name="state" type="uint"/>
|
||||
<arg name="modifiers" type="uint"/>
|
||||
</event>
|
||||
<event name="selection_replacement"/>
|
||||
<event name="direction"/>
|
||||
<event name="locale"/>
|
||||
<event name="enter">
|
||||
<description summary="enter event">
|
||||
Notify the model when it is activated. Typically in response to an
|
||||
|
|
|
@ -225,12 +225,6 @@ text_model_set_micro_focus(struct wl_client *client,
|
|||
{
|
||||
}
|
||||
|
||||
static void
|
||||
text_model_set_preedit(struct wl_client *client,
|
||||
struct wl_resource *resource)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
text_model_set_content_type(struct wl_client *client,
|
||||
struct wl_resource *resource,
|
||||
|
@ -269,7 +263,6 @@ static const struct text_model_interface text_model_implementation = {
|
|||
text_model_deactivate,
|
||||
text_model_reset,
|
||||
text_model_set_micro_focus,
|
||||
text_model_set_preedit,
|
||||
text_model_set_content_type,
|
||||
text_model_invoke_action
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue