[PATCH] protocol: Add wl_shell_surface_set_notification

Quentin Glidic sardemff7+git at sardemff7.net
Wed Dec 26 09:59:49 PST 2012


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.
---
 protocol/wayland.xml | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 0ce68ef..199f14f 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -527,7 +527,7 @@
     </request>
   </interface>
 
-  <interface name="wl_shell_surface" version="1">
+  <interface name="wl_shell_surface" version="2">
 
     <description summary="desktop style meta data interface">
       An interface implemented by a wl_surface.  On server side the
@@ -729,6 +729,16 @@
 	to the client owning the popup surface.
       </description>
     </event>
+
+    <!-- Version 2 additions -->
+
+    <request name="set_notification">
+      <description summary="make the surface a notification surface">
+	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>
   </interface>
 
   <interface name="wl_surface" version="2">
-- 
1.8.0.2



More information about the wayland-devel mailing list