diff options
author | Jan Arne Petersen <jpetersen@openismus.com> | 2013-01-31 15:52:20 +0100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-02-15 17:07:03 -0500 |
commit | 0eabcaafaeeb8648fbe6a2196f34afbbfd18d65a (patch) | |
tree | 0657a670aa37bf321cec11bb145da4ba6259a96e /protocol | |
parent | f255165bd4cf7b571b7815331a13e3b178886d60 (diff) | |
download | weston-0eabcaafaeeb8648fbe6a2196f34afbbfd18d65a.tar.gz |
text: Add commit request
Allows for atomic state changes. Updated surrounding text, content type
and micro focus is taken into account all at once at commit.
Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/input-method.xml | 1 | ||||
-rw-r--r-- | protocol/text.xml | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/protocol/input-method.xml b/protocol/input-method.xml index b4ffa726..690aee1e 100644 --- a/protocol/input-method.xml +++ b/protocol/input-method.xml @@ -131,6 +131,7 @@ <arg name="button" type="uint"/> <arg name="index" type="uint"/> </event> + <event name="commit"/> </interface> <interface name="input_method" version="1"> diff --git a/protocol/text.xml b/protocol/text.xml index 8004f91b..7fdbcf16 100644 --- a/protocol/text.xml +++ b/protocol/text.xml @@ -138,6 +138,8 @@ <arg name="button" type="uint"/> <arg name="index" type="uint"/> </request> + <request name="commit"> + </request> <event name="commit_string"> <description summary="commit"> Notify when text should be inserted into the editor widget. The text |