xwayland: enable MIT-SHM shared pixmaps

Graphics / X.Org / X.Org Server - Simon Ser [emersion.fr] - 18 May 2021 15:19 UTC

Allow X11 clients to create shared pixmaps via the MIT-SHM extension under Xwayland. Tested with a wlroots patch [1].

Also add a few assertions to make sure we have wl_buffers where we need them.

[1]: https://github.com/swaywm/wlroots/pull/2875

f3eb1684f xwayland: enable MIT-SHM shared pixmaps
hw/xwayland/xwayland-present.c | 3 +++
hw/xwayland/xwayland-screen.c | 8 ++++++++
2 files changed, 11 insertions(+)

Upstream: cgit.freedesktop.org


  • Share