Rename protocol name keyrouter to wl_keyrouter 19/41619/1
authorjhyuni.kang <jhyuni.kang@samsung.com>
Wed, 17 Jun 2015 02:53:08 +0000 (11:53 +0900)
committerjhyuni.kang <jhyuni.kang@samsung.com>
Wed, 17 Jun 2015 02:53:08 +0000 (11:53 +0900)
Change-Id: Ib9785556e513a7d05512d8eb7cd17c398a069257

protocol/keyrouter.xml [deleted file]
protocol/wl_keyrouter.xml [new file with mode: 0644]

diff --git a/protocol/keyrouter.xml b/protocol/keyrouter.xml
deleted file mode 100644 (file)
index faaafb4..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<protocol name="keyrouter">
-  <interface name="wl_keyrouter" version="1">
-    <description summary="an interface to set each focus for each key">
-      In tradition, all the keys in a keyboard and a device on which
-      some keys are attached will be sent to focus surface by default.
-      Currently it's possible to set up each focus for each key in a keyboard and a device.
-      Therefore, by setting a key grab for a surface, the owner of the
-      surface will get the key event when it has the key grab for the key.
-    </description>
-
-    <enum name="error">
-      <entry name="none" value="0" summary="no error"/>
-      <entry name="invalid_surface" value="1" summary="Given surface is invalid."/>
-      <entry name="invalid_key" value="2" summary="Given key is invalid."/>
-      <entry name="invalid_mode" value="3" summary="Given mode is invalid."/>
-      <entry name="grabbed_already" value="4" summary="The key has been grabbed already."/>
-      <entry name="no_permission" value="5" summary="The wl client has no permission to grab the key."/>
-      <entry name="no_system_resources" value="6" summary="System resources are insufficient."/>
-    </enum>
-
-    <enum name="mode">
-      <description summary="mode for a key grab">
-       This value is used to set a mode for a key grab. With this mode and
-       the order of the surface between surfaces' stack, the compositor will determine the destination client
-       surface.
-      </description>
-      <entry name="none" value="0" summary="none"/>
-      <entry name="shared" value="1"
-       summary="mode to get a key grab with the other client surfaces when the focused client surface gets the key"/>
-      <entry name="topmost" value="2"
-       summary="mode to get a key grab when the client surface is the top most surface"/>
-      <entry name="overridable_exclusive" value="3"
-       summary="mode to get a key grab exclusively, overridably regardless of the order in the surface stack"/>
-      <entry name="exclusive" value="4"
-       summary="mode to get a key grab exclusively regardless of the order in surface stack"/>
-    </enum>
-
-    <request name="set_keygrab">
-      <arg name="surface" type="object" interface="wl_surface" allow-null="true"/>
-      <arg name="key" type="uint"/>
-      <arg name="mode" type="uint"/>
-    </request>
-
-    <request name="unset_keygrab">
-      <arg name="surface" type="object" interface="wl_surface" allow-null="true"/>
-      <arg name="key" type="uint"/>
-    </request>
-
-    <request name="get_keygrab_status">
-       <arg name="surface" type="object" interface="wl_surface" allow-null="true"/>
-       <arg name="key" type="uint"/>
-    </request>
-
-    <event name="keygrab_notify">
-      <arg name="surface" type="object" interface="wl_surface" allow-null="true"/>
-      <arg name="key" type="uint"/>
-      <arg name="mode" type="uint"/>
-      <arg name="error" type="uint"/>
-    </event>
-  </interface>
-</protocol>
-
diff --git a/protocol/wl_keyrouter.xml b/protocol/wl_keyrouter.xml
new file mode 100644 (file)
index 0000000..2ad1fd0
--- /dev/null
@@ -0,0 +1,62 @@
+<protocol name="wl_keyrouter">
+  <interface name="wl_keyrouter" version="1">
+    <description summary="an interface to set each focus for each key">
+      In tradition, all the keys in a keyboard and a device on which
+      some keys are attached will be sent to focus surface by default.
+      Currently it's possible to set up each focus for each key in a keyboard and a device.
+      Therefore, by setting a key grab for a surface, the owner of the
+      surface will get the key event when it has the key grab for the key.
+    </description>
+
+    <enum name="error">
+      <entry name="none" value="0" summary="no error"/>
+      <entry name="invalid_surface" value="1" summary="Given surface is invalid."/>
+      <entry name="invalid_key" value="2" summary="Given key is invalid."/>
+      <entry name="invalid_mode" value="3" summary="Given mode is invalid."/>
+      <entry name="grabbed_already" value="4" summary="The key has been grabbed already."/>
+      <entry name="no_permission" value="5" summary="The wl client has no permission to grab the key."/>
+      <entry name="no_system_resources" value="6" summary="System resources are insufficient."/>
+    </enum>
+
+    <enum name="mode">
+      <description summary="mode for a key grab">
+       This value is used to set a mode for a key grab. With this mode and
+       the order of the surface between surfaces' stack, the compositor will determine the destination client
+       surface.
+      </description>
+      <entry name="none" value="0" summary="none"/>
+      <entry name="shared" value="1"
+       summary="mode to get a key grab with the other client surfaces when the focused client surface gets the key"/>
+      <entry name="topmost" value="2"
+       summary="mode to get a key grab when the client surface is the top most surface"/>
+      <entry name="overridable_exclusive" value="3"
+       summary="mode to get a key grab exclusively, overridably regardless of the order in the surface stack"/>
+      <entry name="exclusive" value="4"
+       summary="mode to get a key grab exclusively regardless of the order in surface stack"/>
+    </enum>
+
+    <request name="set_keygrab">
+      <arg name="surface" type="object" interface="wl_surface" allow-null="true"/>
+      <arg name="key" type="uint"/>
+      <arg name="mode" type="uint"/>
+    </request>
+
+    <request name="unset_keygrab">
+      <arg name="surface" type="object" interface="wl_surface" allow-null="true"/>
+      <arg name="key" type="uint"/>
+    </request>
+
+    <request name="get_keygrab_status">
+       <arg name="surface" type="object" interface="wl_surface" allow-null="true"/>
+       <arg name="key" type="uint"/>
+    </request>
+
+    <event name="keygrab_notify">
+      <arg name="surface" type="object" interface="wl_surface" allow-null="true"/>
+      <arg name="key" type="uint"/>
+      <arg name="mode" type="uint"/>
+      <arg name="error" type="uint"/>
+    </event>
+  </interface>
+</protocol>
+