text: Add support for control keys to the protocol

Add key event to the text_model interface and a key request to the
input_method_context interface. Implement it in the example editor
client and the example keyboard.

Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
This commit is contained in:
Jan Arne Petersen
2012-09-09 23:08:45 +02:00
committed by Kristian Høgsberg
parent e202bae9d3
commit ce8a4433f5
6 changed files with 53 additions and 5 deletions
+4 -2
View File
@@ -75,10 +75,12 @@ text_model_preedit_styling(void *data,
static void
text_model_key(void *data,
struct text_model *text_model)
struct text_model *text_model,
uint32_t key,
uint32_t state)
{
}
static void
text_model_selection_replacement(void *data,
struct text_model *text_model)