aboutsummaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorDaniel Kondor <kondor.dani@gmail.com>2020-10-18 23:14:35 +0800
committerGitHub <noreply@github.com>2020-10-18 17:14:35 +0200
commit36395e5b1c4107d6945213e0c06eaa58d885f97c (patch)
tree8978f9db77b368e5ebed673ce4d3f15a93892255 /protocol
parent1ac5257357fdf51b2864149f4896c51afd2eda09 (diff)
foreign-toplevel-management: report parent toplevel
Based on the wlr-protocols PR: https://github.com/swaywm/wlr-protocols/pull/52
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wlr-foreign-toplevel-management-unstable-v1.xml15
1 files changed, 13 insertions, 2 deletions
diff --git a/protocol/wlr-foreign-toplevel-management-unstable-v1.xml b/protocol/wlr-foreign-toplevel-management-unstable-v1.xml
index a97738f8..206143b4 100644
--- a/protocol/wlr-foreign-toplevel-management-unstable-v1.xml
+++ b/protocol/wlr-foreign-toplevel-management-unstable-v1.xml
@@ -25,7 +25,7 @@
THIS SOFTWARE.
</copyright>
- <interface name="zwlr_foreign_toplevel_manager_v1" version="2">
+ <interface name="zwlr_foreign_toplevel_manager_v1" version="3">
<description summary="list and control opened apps">
The purpose of this protocol is to enable the creation of taskbars
and docks by providing them with a list of opened applications and
@@ -68,7 +68,7 @@
</event>
</interface>
- <interface name="zwlr_foreign_toplevel_handle_v1" version="2">
+ <interface name="zwlr_foreign_toplevel_handle_v1" version="3">
<description summary="an opened toplevel">
A zwlr_foreign_toplevel_handle_v1 object represents an opened toplevel
window. Each app may have multiple opened toplevels.
@@ -255,5 +255,16 @@
actually changes, this will be indicated by the state event.
</description>
</request>
+
+ <!-- Version 3 additions -->
+
+ <event name="parent" since="3">
+ <description summary="parent change">
+ This event is emitted whenever the parent of the toplevel changes.
+
+ No event is emitted when the parent handle is destroyed by the client.
+ </description>
+ <arg name="parent" type="object" interface="zwlr_foreign_toplevel_handle_v1" allow-null="true"/>
+ </event>
</interface>
</protocol>