xdg_shell: update version to 5
authorMinJeong Kim <minjjj.kim@samsung.com>
Fri, 6 Nov 2015 13:38:57 +0000 (22:38 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 11 Nov 2015 03:53:21 +0000 (12:53 +0900)
Change-Id: I1f9da232687e6256fef42a894ba3e6f27254bcbc

protocol/xdg-shell.xml

index b0e4343174a3c73c7665fe78db6568629667b4a9..a4335f1b7303b9ae56ed4e827c970687a2f75439 100644 (file)
        they implement using static_assert to ensure the protocol and
        implementation versions match.
       </description>
-      <entry name="current" value="4" summary="Always the latest version"/>
+      <entry name="current" value="5" summary="Always the latest version"/>
     </enum>
 
     <enum name="error">
       <entry name="role" value="0" summary="given wl_surface has another role"/>
+      <entry name="defunct_surfaces" value="1" summary="xdg_shell was destroyed before children"/>
+      <entry name="not_the_topmost_popup" value="2" summary="the client tried to map or destroy a non-topmost popup"/>
+      <entry name="invalid_popup_parent" value="3" summary="the client specified an invalid popup parent surface"/>
     </enum>
 
+    <request name="destroy" type="destructor">
+      <description summary="destroy xdg_shell">
+        Destroy this xdg_shell object.
+
+        Destroying a bound xdg_shell object while there are surfaces
+        still alive created by this xdg_shell object instance is illegal
+        and will result in a protocol error.
+      </description>
+    </request>
+
     <request name="use_unstable_version">
       <description summary="enable use of this unstable version">
        Negotiate the unstable version of the interface.  This
        unmapped if the parent is unmapped too. They should not appear
        on task bars and alt+tab.
       </description>
-      <arg name="parent" type="object" interface="wl_surface" allow-null="true"/>
+      <arg name="parent" type="object" interface="xdg_surface" allow-null="true"/>
     </request>
 
     <request name="set_title">
 
     <request name="set_minimized" />
 
-    <request name="needs_attention" />
-
     <event name="close">
       <description summary="surface wants to be closed">
         The close event is sent by the compositor when the user
        that is, when the users clicks a surface that doesn't belong
        to the client owning the popup surface.
       </description>
-      <arg name="serial" type="uint" summary="serial of the implicit grab on the pointer"/>
     </event>
 
   </interface>