[mutter/wip/garnacho/wayland-startup-notification: 2/3] wayland: Update gtk-shell protocol file to v3



commit 1b449f50ffcaa718cd688d65248ebfe46d11155a
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Feb 6 15:02:13 2016 +0100

    wayland: Update gtk-shell protocol file to v3
    
    Add a gtk_shell.set_startup_id request, so the application can communicate
    to the compositor the startup id that it received through the
    DESKTOP_STARTUP_ID envvar, or other means.

 src/wayland/protocol/gtk-shell.xml |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/wayland/protocol/gtk-shell.xml b/src/wayland/protocol/gtk-shell.xml
index fd9974e..258442c 100644
--- a/src/wayland/protocol/gtk-shell.xml
+++ b/src/wayland/protocol/gtk-shell.xml
@@ -1,6 +1,6 @@
 <protocol name="gtk">
 
-  <interface name="gtk_shell" version="2">
+  <interface name="gtk_shell" version="3">
     <description summary="gtk specific extensions">
       gtk_shell is a protocol extension providing additional features for
       clients implementing it. It is not backward compatible, and a client must
@@ -23,9 +23,13 @@
       <arg name="gtk_surface" type="new_id" interface="gtk_surface"/>
       <arg name="surface" type="object" interface="wl_surface"/>
     </request>
+
+    <request name="set_startup_id" since="3">
+      <arg name="startup_id" type="string" allow-null="true"/>
+    </request>
   </interface>
 
-  <interface name="gtk_surface" version="2">
+  <interface name="gtk_surface" version="3">
     <request name="set_dbus_properties">
       <arg name="application_id" type="string" allow-null="true"/>
       <arg name="app_menu_path" type="string" allow-null="true"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]