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
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel