[PATCH weston v4 2/4] protocol: Add notification_daemon interface

Quentin Glidic sardemff7+wayland at sardemff7.net
Sun May 12 02:09:33 PDT 2013


From: Quentin Glidic <sardemff7+git at sardemff7.net>

Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
---
 protocol/Makefile.am             |  1 +
 protocol/notification-daemon.xml | 50 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)
 create mode 100644 protocol/notification-daemon.xml

diff --git a/protocol/Makefile.am b/protocol/Makefile.am
index 8c1803c..4eb889f 100644
--- a/protocol/Makefile.am
+++ b/protocol/Makefile.am
@@ -6,4 +6,5 @@ EXTRA_DIST =					\
 	text.xml				\
 	input-method.xml			\
 	workspaces.xml				\
+	notification-daemon.xml			\
 	wayland-test.xml
diff --git a/protocol/notification-daemon.xml b/protocol/notification-daemon.xml
new file mode 100644
index 0000000..2cd9e69
--- /dev/null
+++ b/protocol/notification-daemon.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<protocol name="notification_daemon">
+  <copyright>
+    Copyright © 2013 Quentin "Sardem FF7" Glidic
+
+    Permission to use, copy, modify, distribute, and sell this
+    software and its documentation for any purpose is hereby granted
+    without fee, provided that the above copyright notice appear in
+    all copies and that both that copyright notice and this permission
+    notice appear in supporting documentation, and that the name of
+    the copyright holders not be used in advertising or publicity
+    pertaining to distribution of the software without specific,
+    written prior permission.  The copyright holders make no
+    representations about the suitability of this software for any
+    purpose.  It is provided "as is" without express or implied
+    warranty.
+
+    THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
+    SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+    FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
+    SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+    WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
+    AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+    ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
+    THIS SOFTWARE.
+  </copyright>
+
+  <interface name="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.2.1



More information about the wayland-devel mailing list