text: Add language and text-direction to protocol
Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
diff --git a/clients/editor.c b/clients/editor.c
index 0de2500..e037c2f 100644
--- a/clients/editor.c
+++ b/clients/editor.c
@@ -391,6 +391,22 @@
{
}
+static void
+text_model_language(void *data,
+ struct text_model *text_model,
+ uint32_t serial,
+ const char *language)
+{
+}
+
+static void
+text_model_text_direction(void *data,
+ struct text_model *text_model,
+ uint32_t serial,
+ uint32_t direction)
+{
+}
+
static const struct text_model_listener text_model_listener = {
text_model_commit_string,
text_model_preedit_string,
@@ -402,7 +418,9 @@
text_model_keysym,
text_model_enter,
text_model_leave,
- text_model_input_panel_state
+ text_model_input_panel_state,
+ text_model_language,
+ text_model_text_direction
};
static struct text_entry*