[PATCH wayland] protocol: Add wl_notification_daemon interface

Jason Ekstrand jason at jlekstrand.net
Mon Jan 21 07:44:01 PST 2013


On Sun, Jan 20, 2013 at 12:16 PM, Quentin Glidic
<sardemff7+git at sardemff7.net> wrote:
> This interface is designed to be binded only once by a notification
> daemon.

Should we have an error enum for "interface already bound".  That way
the compositor can do something useful if two clients try to bind at
the same time.  Also, that should be "bound" not "binded" (sorry for
being picky).

>
> 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
>
> _______________________________________________
> 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