On Wednesday, November 13, 2019 11:11 AM, Pekka Paalanen <ppaala...@gmail.com> 
wrote:

> However, my fear with adding such information is that then clients
> might start adding conditional code paths based on the Wayland
> compositor name or version, which is an incorrect approach. Client
> behaviour that depends on the particular compositor must be keyed by
> the available global Wayland interfaces and their versions, not by the
> compositor identity.
>
> OTOH, Wayland is a few years old by now and developers should have
> learnt better, so maybe that fear is no longer relevant.

I share this fear as well. IMHO `ps` is good enough. You could
also use something like `lsof /dev/dri/card0` to get the DRM
master.
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to