[PATCH xserver] xwayland: use wl_surface_damage_buffer

Simon Ser contact at emersion.fr
Mon Nov 5 18:25:21 UTC 2018


On Monday, November 5, 2018 3:24 PM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> I don't think it's a good idea to break Xwayland completely on
> compositors that don't implement wl_surface version 4 or greater.
>
> It would make sense to bind wl_compositor min(version, 4).

This is intentional. I think it's reasonable to expect wl_compositor v4, it's
pretty old (3 years old). For instance, compositors not implementing v4 have no
damage tracking with EGL.

I think it's worth it to require v4 rather than cluttering the codebase with
version checks.


More information about the xorg-devel mailing list