summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorJan Arne Petersen <jpetersen@openismus.com>2012-09-09 23:08:43 +0200
committerKristian Høgsberg <krh@bitplanet.net>2012-09-12 16:50:44 -0400
commit43f4aa8cab93ae32e427ab8426261950d83f2755 (patch)
tree50aa679d41e0e60a24ae3b91c1e166eb0863cade /protocol
parent892f1c39751ec7bda7f1e44988182764772b3c7c (diff)
downloadweston-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.xml7
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