text, input-method: Add new protocols for floating IME 41/310841/3
authorInhong Han <inhong1.han@samsung.com>
Thu, 9 May 2024 02:02:49 +0000 (11:02 +0900)
committerInhong Han <inhong1.han@samsung.com>
Wed, 22 May 2024 04:34:43 +0000 (13:34 +0900)
Change-Id: Ie0fefa41008e95b83558a0ac2ed2a25a48b0ce6d

protocol/tizen/input-method.xml
protocol/tizen/text.xml

index 7fedae42873549e82a197f517037805ed07b418a..3bf5f113bffbfc4d9c94ef2a0e61b32db8ed7e74 100644 (file)
@@ -24,7 +24,7 @@
     DEALINGS IN THE SOFTWARE.
   </copyright>
 
-  <interface name="zwp_input_method_context_v1" version="1">
+  <interface name="zwp_input_method_context_v1" version="2">
     <description summary="input method context">
       Corresponds to a text input on the input method side. An input method context
       is created on text input activation on the input method side. It allows
       <arg name="enabled" type="uint"/>
     </request>
 
+    <request name="move_resize_floating_panel" since="2">
+      <arg name="x" type="uint"/>
+      <arg name="y" type="uint"/>
+      <arg name="width" type="uint"/>
+      <arg name="height" type="uint"/>
+    </request>
+
     <event name="surrounding_text">
       <description summary="surrounding text event">
        The plain surrounding text around the input position. Cursor is the
       <arg name="block_index" type="uint"/>
       <arg name="block_size" type="uint"/>
     </event>
+    <event name="input_panel_position_align" since="2">
+      <arg name="x" type="uint"/>
+      <arg name="y" type="uint"/>
+      <arg name="align" type="uint"/>
+    </event>
   </interface>
 
   <interface name="zwp_input_method_v1" version="1">
index 0c4f1f6f20532e882cd2085c48e105b1e7402d52..2122b187c62a86566b1cad59767c2a93468e3e1d 100644 (file)
@@ -26,7 +26,7 @@
     THIS SOFTWARE.
   </copyright>
 
-  <interface name="wl_text_input" version="1">
+  <interface name="wl_text_input" version="2">
     <description summary="text input">
       An object used for text input. Adds support for text input and input
       methods to applications. A text_input object is created from a
       <arg name="block_index" type="uint"/>
       <arg name="block_size" type="uint"/>
     </request>
+    <request name="set_input_panel_position_align" since="2">
+      <description summary="set the Position and Alignment of the input panel">
+        Set the Position and Alignment of the input panel.
+      </description>
+      <arg name="x" type="uint"/>
+      <arg name="y" type="uint"/>
+      <arg name="align" type="uint"/>
+    </request>
     <event name="enter">
       <description summary="enter event">
         Notify the text_input object when it received focus. Typically in