[PATCH wayland] protocol: Add wl_notification_daemon interface

Quentin Glidic sardemff7+git at sardemff7.net
Sun Jan 20 10:16:09 PST 2013


This interface is designed to be binded 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.
---

This interface should be binding by every notification daemon.
However, 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.

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

diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 0ce68ef..032fe2d 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -1357,4 +1357,22 @@
 
   </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.
+    </description>
+
+    <request name="add_surface">
+      <description summary="add a notification surface">
+      </description>
+
+      <arg name="surface" type="object" interface="wl_surface"/>
+    </request>
+
+  </interface>
+
 </protocol>
-- 
1.8.1



More information about the wayland-devel mailing list