diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-10-09 16:55:55 -0400 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-10-28 18:03:26 -0400 |
commit | b3cffb85f39183a83a99e7517191e46bcd744749 (patch) | |
tree | 9f1eeadba40707d1491a53a58219af7e391bd35e /gdk/wayland/protocol | |
parent | 1ace4b886dea865c5f6c3251c3bc06c819eb366d (diff) | |
download | gtk+-b3cffb85f39183a83a99e7517191e46bcd744749.tar.gz |
wayland: Support always-on-top / sticky windows
Use the new gtk-shell APIs available in mutter to add support for this.
https://bugzilla.gnome.org/show_bug.cgi?id=710056
Diffstat (limited to 'gdk/wayland/protocol')
-rw-r--r-- | gdk/wayland/protocol/gtk-shell.xml | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/gdk/wayland/protocol/gtk-shell.xml b/gdk/wayland/protocol/gtk-shell.xml index a4e25653f1..4407cb8981 100644 --- a/gdk/wayland/protocol/gtk-shell.xml +++ b/gdk/wayland/protocol/gtk-shell.xml @@ -1,11 +1,11 @@ <protocol name="gtk"> - <interface name="gtk_shell" version="1"> + <interface name="gtk_shell" version="2"> <enum name="capability"> <entry name="global_app_menu" value="1"/> <entry name="global_menu_bar" value="2"/> </enum> - + <event name="capabilities"> <arg name="capabilities" type="uint"/> </event> @@ -16,7 +16,7 @@ </request> </interface> - <interface name="gtk_surface" version="1"> + <interface name="gtk_surface" version="2"> <request name="set_dbus_properties"> <arg name="application_id" type="string" allow-null="true"/> <arg name="app_menu_path" type="string" allow-null="true"/> @@ -25,6 +25,32 @@ <arg name="application_object_path" type="string" allow-null="true"/> <arg name="unique_bus_name" type="string" allow-null="true"/> </request> + + <request name="set_workspace"> + <arg name="workspace" type="uint" /> + </request> + + <event name="workspace_changed"> + <arg name="new_workspace" type="uint" /> + </event> + + <enum name="always_on_top_state"> + <entry name="not_always_on_top" value="0" /> + <entry name="always_on_top" value="1" /> + </enum> + + <request name="set_always_on_top"> + <arg name="always_on_top" type="uint" /> + </request> + + <enum name="on_all_workspaces"> + <entry name="not_on_all_workspaces" value="0" /> + <entry name="on_all_workspaces" value="1" /> + </enum> + + <request name="set_on_all_workspaces"> + <arg name="on_all_workspaces" type="uint" /> + </request> </interface> </protocol> |