Add show and hide input panel event in wl_input_method 98/58698/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 3 Feb 2016 02:42:55 +0000 (11:42 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 3 Feb 2016 02:43:05 +0000 (11:43 +0900)
Activate event is used to be notified when input field has focus.
During getting focus, IME can be shown or hidden by user event or calling API.
Therefore activate is not always same with show event and deactivate is not always same with hide event.

Change-Id: I6d516a4ee2c2b18a7e6146dc00f650bafc4f5b00

protocol/input-method.xml

index 87feca81b17430e9a3f5b7d05b26143c267d4a0a..c3cb429ba22526fa6cc61e4bec3e468fbdff105e 100644 (file)
       </description>
       <arg name="context" type="object" interface="wl_input_method_context"/>
     </event>
+    <event name="show_input_panel">
+      <description summary="show input panel event">
+        Input panel (virtual keyboard) was requested to show.
+      </description>
+      <arg name="context" type="object" interface="wl_input_method_context"/>
+    </event>
+    <event name="hide_input_panel">
+      <description summary="hide input panel event">
+        Input panel (virtual keyboard) was requested to hide.
+      </description>
+      <arg name="context" type="object" interface="wl_input_method_context"/>
+    </event>
   </interface>
 
   <interface name="wl_input_panel" version="1">