[PATCH weston v3 1/3] protocol: Add wl_notification_daemon interface
Quentin Glidic
sardemff7+wayland at sardemff7.net
Sat Apr 6 03:56:29 PDT 2013
On 05/04/2013 20:28, Bill Spitzak wrote:
> Emilio Pozuelo Monfort wrote:
>> 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?
I am not. This interface is about drawing the notifications on screen,
not about getting the notification’s content.
> It looks like he is trying to define the protocol the receiver of these
> dbus notifications (the daemon) uses to make them appear on the screen:
Exactly. There is a daemon listening to D-Bus, and this one is the
Wayland client. Using the wl_notification_daemon interface, it can make
the notifications appear on screen.
The add_surface request is for daemons that use a list of “bubbles”,
which is the most common case.
Compositors can perfectly listen the D-Bus interface too.
In any case, whichever client (in the compositor or standalone, using a
list of bubbles or not) must bind this interface, making sure only one
type of notifications will hit the screen, to keep visual consistency.
--
Quentin “Sardem FF7” Glidic
More information about the wayland-devel
mailing list