[PATCH weston v3 1/3] protocol: Add wl_notification_daemon interface

Emilio Pozuelo Monfort pochu27 at gmail.com
Fri Apr 5 07:40:43 PDT 2013


Hi,

Why are you reinventing org.freedesktop.Notifications? Couldn't this be a client
that implements the org.freedesktop.Notifications dbus interface and draws
notifications instead?

Regards,
Emilio

On 04/03/2013 07:13 PM, Quentin Glidic wrote:
> From: Quentin Glidic <sardemff7+git at sardemff7.net>
> 
> Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
> ---
> 
> I moved the protocol bit to Weston for now, to test it further
> 
>  protocol/Makefile.am                |  3 ++-
>  protocol/wl-notification-daemon.xml | 50 +++++++++++++++++++++++++++++++++++++
>  2 files changed, 52 insertions(+), 1 deletion(-)
>  create mode 100644 protocol/wl-notification-daemon.xml
> 
> diff --git a/protocol/Makefile.am b/protocol/Makefile.am
> index 8c1803c..004865f 100644
> --- a/protocol/Makefile.am
> +++ b/protocol/Makefile.am
> @@ -6,4 +6,5 @@ EXTRA_DIST =					\
>  	text.xml				\
>  	input-method.xml			\
>  	workspaces.xml				\
> -	wayland-test.xml
> +	wayland-test.xml			\
> +	wl-notification-daemon.xml
> diff --git a/protocol/wl-notification-daemon.xml b/protocol/wl-notification-daemon.xml
> new file mode 100644
> index 0000000..da43671
> --- /dev/null
> +++ b/protocol/wl-notification-daemon.xml
> @@ -0,0 +1,50 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<protocol name="wl_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="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>
> 
> 
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
> 



More information about the wayland-devel mailing list