Index: third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml |
diff --git a/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml b/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml |
index 3b60a334069c3e436c84d8c092e8814dc7d0389b..ba329cf515c328fb1b9740247927ba55bbcffcbd 100644 |
--- a/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml |
+++ b/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml |
@@ -38,7 +38,7 @@ |
reset. |
</description> |
- <interface name="zwp_remote_shell_v1" version="5"> |
+ <interface name="zwp_remote_shell_v1" version="6"> |
<description summary="remote_shell"> |
The global interface that allows clients to turn a wl_surface into a |
"real window" which is remotely managed but can be stacked, activated |
@@ -56,6 +56,8 @@ |
<enum name="error"> |
<entry name="role" value="0" summary="given wl_surface has another role"/> |
+ <entry name="invalid_notification_id" value="1" |
+ summary="invalid notification id"/> |
</enum> |
<request name="destroy" type="destructor"> |
@@ -84,6 +86,16 @@ |
<arg name="container" type="uint"/> |
</request> |
+ <request name="get_notification_surface" since="6"> |
reveman
2016/06/23 18:28:00
please move this down to "Version 6 additions" sec
xiyuan
2016/06/23 18:34:11
Added a "Version 6 additions" section for zwp_remo
|
+ <description summary="create a notification surface from a surface"> |
+ Creates a notification_surface for the given surface, gives it the |
+ notification_surface role and associated it with a notification id. |
+ </description> |
+ <arg name="id" type="new_id" interface="zwp_notification_surface_v1"/> |
+ <arg name="surface" type="object" interface="wl_surface"/> |
+ <arg name="notification_id" type="string" /> |
+ </request> |
+ |
<event name="configure"> |
<description summary="suggests a re-layout of remote shell"> |
Suggests a re-layout of remote surface geometry. |
@@ -105,7 +117,7 @@ |
</event> |
</interface> |
- <interface name="zwp_remote_surface_v1" version="5"> |
+ <interface name="zwp_remote_surface_v1" version="6"> |
<description summary="A desktop window"> |
An interface that may be implemented by a wl_surface, for |
implementations that provide a desktop-style user interface |
@@ -397,4 +409,19 @@ |
</request> |
</interface> |
+ <!-- Version 6 additions --> |
+ |
+ <interface name="zwp_notification_surface_v1" version="6"> |
+ <description summary="A notification window"> |
+ An interface that may be implemented by a wl_surface to host |
+ notification contents. |
+ </description> |
+ |
+ <request name="destroy" type="destructor"> |
+ <description summary="Destroy the notification_surface"> |
+ Unmap and destroy the notification surface. |
+ </description> |
+ </request> |
+ </interface> |
+ |
</protocol> |