text: Add language and text-direction to protocol
Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
f91871980e
commit
ece6b5af51
+19
-1
@@ -131,6 +131,22 @@ text_model_input_panel_state(void *data,
|
||||
{
|
||||
}
|
||||
|
||||
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,
|
||||
@@ -142,7 +158,9 @@ static const struct text_model_listener text_model_listener = {
|
||||
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
|
||||
};
|
||||
|
||||
TEST(text_test)
|
||||
|
||||
Reference in New Issue
Block a user