[PATCH wayland] protocol: Add wl_notification_daemon interface

Quentin Glidic sardemff7+wayland at sardemff7.net
Mon Jan 21 12:03:38 PST 2013


On 21/01/2013 19:53, Casey Dahlin wrote:
> Is there a reason to do this in wayland protocol rather than the already
> established freedesktop method over DBus?

The fd.o specification provides a protocol to notify the user, using a
(hopefully) desktop-integrated daemon. The Wayland interface I’m adding
is a way to tell the compositor that a surface is a notification, to
place it properly.

So, the notification daemon will bind to the Wayland interface and
register the D-Bus name. When a notification comes through D-Bus, it
will render a notification (a “bubble”) and add it in the Wayland list
for the compositor to place it properly. Without this interface,
notifications would be normal surfaces with no proper placement,
possibly hidden while they should always be visible to the user.

Both the Wayland interface and the fd.o specification are complementary
to have a nice experience of notifications in Wayland.

-- 

Quentin “Sardem FF7” Glidic



More information about the wayland-devel mailing list