diff options
author | Jan Arne Petersen <jpetersen@openismus.com> | 2012-09-09 23:08:46 +0200 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-09-12 16:52:53 -0400 |
commit | c1e481efb145ef0a1fa6ecd30c2b75cddb636006 (patch) | |
tree | 70e4240eb958d7c75d6e0dd5658c14fad8ec9a3b /protocol | |
parent | ce8a4433f53feb2db8e9e9e0a06dda4e28156faf (diff) |
text: Add reset requets to protocol
Add a reset request to the text_model interface and a reset event to the
input_method_context interface. Use it to reset the pre-edit buffers in
the example keyboard when the cursor is moved in the example editor
client.
Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/input-method.xml | 2 | ||||
-rw-r--r-- | protocol/text.xml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/protocol/input-method.xml b/protocol/input-method.xml index 100fa462..09ab10ce 100644 --- a/protocol/input-method.xml +++ b/protocol/input-method.xml @@ -68,6 +68,8 @@ <arg name="cursor" type="uint"/> <arg name="anchor" type="uint"/> </event> + <event name="reset"> + </event> </interface> <interface name="input_method" version="1"> diff --git a/protocol/text.xml b/protocol/text.xml index 62746d3f..eded1c8f 100644 --- a/protocol/text.xml +++ b/protocol/text.xml @@ -67,6 +67,8 @@ </description> <arg name="seat" type="object" interface="wl_seat"/> </request> + <request name="reset"> + </request> <request name="set_micro_focus"> <arg name="x" type="int"/> <arg name="y" type="int"/> |