summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorJan Arne Petersen <jpetersen@openismus.com>2012-11-18 19:06:45 +0100
committerKristian Høgsberg <krh@bitplanet.net>2012-11-27 13:09:07 -0500
commit466b9c10471f928b2a8aba15856c934a964b7923 (patch)
tree7bfafd02275cd57010d8d03a1d8a7df7b6e8cae8 /protocol
parentcd99706b61e1a057dade6ccd6918a2724899d927 (diff)
text: Add support for grabbing the keyboard
Add support for requesting hardware input into an input method. Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
Diffstat (limited to 'protocol')
-rw-r--r--protocol/input-method.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/protocol/input-method.xml b/protocol/input-method.xml
index 69b1277a..0f156441 100644
--- a/protocol/input-method.xml
+++ b/protocol/input-method.xml
@@ -70,6 +70,15 @@
<arg name="state" type="uint"/>
<arg name="modifiers" type="uint"/>
</request>
+ <request name="grab_keyboard">
+ <description summary="grab hardware keyboard">
+ Allows an input method to receive hardware keyboard input and process
+ key events to generate text events (with pre-edit) over the. This allows
+ input methods which compose multiple key events for inputting text
+ like it is done for CJK languages.
+ </description>
+ <arg name="keyboard" type="new_id" interface="wl_keyboard"/>
+ </request>
<event name="surrounding_text">
<description summary="surrounding text event">
The plain surrounding text around the input position. Cursor is the