Skip to content

xwayland: Expose the XWAYLAND extension only when rootless

The XWAYLAND extension is useful only when running rootless to help with the integration of the Wayland compositor X11 window manager.

Some X11 utilities also check the mere presence of that extension to warn users that the utility is not intended to be used on Xwayland where the Wayland compositor in is control. But then, that's true for rootless mode (the default with most Wayland compositors), when running rootful, the utilities will work as with any other nested Xserver.

Expose the XWAYLAND extension only when running rootless to improve Xwayland "compatibility" with such X11 utilities when running rootful.

/cc @whot

Merge request reports

Loading