[PATCH wayland] protocol: Add wl_notification_daemon interface

Quentin Glidic sardemff7+git at sardemff7.net
Sat Feb 9 05:11:48 PST 2013


This interface is designed to be bound only once by a notification
daemon.

Notification surfaces are special surfaces that the user should
always be able to see. The compositor is in charge of displaying
them to be visible without disturbing the user workflow.

Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
---

A single type of request is not enough to make all daemons happy.
The add_surface request is only for "bubbles list" daemons.
I plan to add a docking request on shell_surface that should cover 
almost all other existing cases.
DE daemons are likely to have their own private interface, with 
well-integrated support.

 protocol/wayland.xml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 181d2d2..5b8cff3 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -1357,4 +1357,28 @@
 
   </interface>
 
+  <interface name="wl_notification_daemon" version="1">
+    <description summary="interface for implementing notification daemons">
+        Only one client can bind this interface at a time.
+
+        Notification surfaces are special surfaces that the user should
+        always be able to see. The compositor is in charge of displaying
+        them to be visible without disturbing the user workflow.
+
+        This interface must be bound by all notification daemons, ensuring
+        that only one can run at a time.
+    </description>
+
+    <request name="add_surface">
+      <description summary="add a notification surface">
+        This request is for daemons which use a list of surfaces.
+        Other mechanisms can be used and are not necessarily part of the
+        wl_notification_daemon interface.
+      </description>
+
+      <arg name="surface" type="object" interface="wl_surface"/>
+    </request>
+
+  </interface>
+
 </protocol>
-- 
1.8.1.2



More information about the wayland-devel mailing list