[PATCH xserver] xwayland: use wl_surface_damage_buffer

Roman Gilg subdiff at gmail.com
Wed Nov 7 17:55:01 UTC 2018


On Tue, Nov 6, 2018 at 7:50 AM Simon Ser <contact at emersion.fr> wrote:
>
> 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.
In KWin we still only support v3, but I currently have a patch up for
review to support v4: https://phabricator.kde.org/D15910. Until the
next Xserver is released, a version of KWin with this support should
have been released and systems with older KWin versions wouldn't use
the latest Xserver version. So from KWin's side I think it shouldn't
be a problem.

Of course there are other compositors, but one would assume that a
compositor with Xwayland support on latest Xserver is able to speak v4
or should be made ready to do this quickly.


More information about the xorg-devel mailing list