diff options
author | Jan Arne Petersen <jpetersen@openismus.com> | 2012-09-09 23:08:43 +0200 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-09-12 16:50:44 -0400 |
commit | 43f4aa8cab93ae32e427ab8426261950d83f2755 (patch) | |
tree | 50aa679d41e0e60a24ae3b91c1e166eb0863cade /protocol | |
parent | 892f1c39751ec7bda7f1e44988182764772b3c7c (diff) | |
download | weston-43f4aa8cab93ae32e427ab8426261950d83f2755.tar.gz weston-43f4aa8cab93ae32e427ab8426261950d83f2755.tar.bz2 weston-43f4aa8cab93ae32e427ab8426261950d83f2755.zip |
text: Add support for pre-edit string
Add support of preedit-string to the example editor client. Also add a
preedit_string request to the input_method_context interface and use
that in the example weston keyboard to first create a pre-edit string
when entering keys and commit it on space.
Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/input-method.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/protocol/input-method.xml b/protocol/input-method.xml index be68d857..9baff624 100644 --- a/protocol/input-method.xml +++ b/protocol/input-method.xml @@ -42,6 +42,13 @@ <arg name="text" type="string"/> <arg name="index" type="uint"/> </request> + <request name="preedit_string"> + <description summary="pre-edit string"> + Send the pre-edit string text to the applications text model. + </description> + <arg name="text" type="string"/> + <arg name="index" type="uint"/> + </request> <event name="surrounding_text"> <description summary="surrounding text event"> The plain surrounding text around the input position. Cursor is the |