summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJi-hoon Lee <dalton.lee@samsung.com>2017-11-01 19:33:03 +0900
committerJi-hoon Lee <dalton.lee@samsung.com>2017-11-07 05:33:04 +0000
commit56c3dfb90159e70f6eb693e9705de9443045d83d (patch)
tree6234c3865e0558bbe5f1d0562e72d00ece52af16
parent052a39d3076486b4de9089e29f8d0bfa6288df1e (diff)
downloadwayland-extension-tizen_4.0_tv.tar.gz
wayland-extension-tizen_4.0_tv.tar.bz2
wayland-extension-tizen_4.0_tv.zip
Change-Id: Ie197050a786d9628145a1ab77714ce372aa06639
-rw-r--r--protocol/input-method.xml4
-rw-r--r--protocol/text.xml7
2 files changed, 11 insertions, 0 deletions
diff --git a/protocol/input-method.xml b/protocol/input-method.xml
index 8f96f3e..bc9c376 100644
--- a/protocol/input-method.xml
+++ b/protocol/input-method.xml
@@ -308,6 +308,10 @@
<event name="mime_type">
<arg name="type" type="string"/>
</event>
+ <event name="finalized_content">
+ <arg name="text" type="string"/>
+ <arg name="cursor_position" type="uint"/>
+ </event>
</interface>
<interface name="wl_input_method" version="1">
diff --git a/protocol/text.xml b/protocol/text.xml
index 4d21ad2..8f1e9d7 100644
--- a/protocol/text.xml
+++ b/protocol/text.xml
@@ -272,6 +272,13 @@
<arg name="x" type="uint"/>
<arg name="y" type="uint"/>
</request>
+ <request name="finalize_content">
+ <description summary="finalize its content">
+ Finalized its content right before losing the focus.
+ </description>
+ <arg name="text" type="string"/>
+ <arg name="cursor_position" type="uint"/>
+ </request>
<event name="enter">
<description summary="enter event">
Notify the text_input object when it received focus. Typically in