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>
This commit is contained in:
Jan Arne Petersen
2013-01-31 15:52:20 +01:00
committed by Kristian Høgsberg
parent f255165bd4
commit 0eabcaafae
6 changed files with 53 additions and 13 deletions
+1
View File
@@ -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">
+2
View File
@@ -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