How to implement OSD overlay in Wayland/Weston

Sebastian Krzyszkowiak dos at dosowisko.net
Tue Nov 19 11:38:18 UTC 2019


On 11/19/19, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> yes. I'm not aware of any Wayland extension that would allow clients to
> dictate always-on-top behaviour on the desktop. It has an obvious
> attack vector (malicious or misbehaving app setting always-on-top
> without user's consent) and a simple corner case (how do you stack
> multiple always-on-top windows).
>
> OSD as a concept seems like a desktop component, not a normal app.
> Hence I would expect such a client to use a domain-specific or custom
> protocol extension to set always-on-top. If your use case is not a
> generic desktop but some special environment, then a domain-specific
> protocol extension would be a way to go. For generic desktop
> environments you'd integrate with the particular DE specifically, e.g.
> a gnome-shell plugin or something.
>
> That is, if the OSD really is an independent separate program and not a
> part of some fullscreen application.

Sounds like something layer-shell protocol solves portably already.

SK


More information about the wayland-devel mailing list