summaryrefslogtreecommitdiff
path: root/src/wayland/protocol
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2016-02-06 15:02:13 +0100
committerCarlos Garnacho <carlosg@gnome.org>2016-02-19 17:41:03 +0100
commit3729e592a6154cc717e378afd1bc141f4ac736e4 (patch)
tree3aab0a585559fb29f425796b2ffd97757c587674 /src/wayland/protocol
parent56beedf9f2d31b89bad69a97bf3ba543510c39ab (diff)
downloadmutter-3729e592a6154cc717e378afd1bc141f4ac736e4.tar.gz
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. https://bugzilla.gnome.org/show_bug.cgi?id=762268
Diffstat (limited to 'src/wayland/protocol')
-rw-r--r--src/wayland/protocol/gtk-shell.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/wayland/protocol/gtk-shell.xml b/src/wayland/protocol/gtk-shell.xml
index fd9974e20..258442c62 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"/>