Allow X11 clients to create shared pixmaps via the MIT-SHM extension under Xwayland. Tested with a wlroots patch .
Also add a few assertions to make sure we have wl_buffers where we need them.
f3eb1684f xwayland: enable MIT-SHM shared pixmaps
hw/xwayland/xwayland-present.c | 3 +++
hw/xwayland/xwayland-screen.c | 8 ++++++++
2 files changed, 11 insertions(+)