Not all compositors allow for customizing the Xwayland command line, gnome-shell/mutter for example have the command line and path to Xwayland binary hardcoded, which makes it harder for users to disable glamor acceleration in Xwayland (glamor being used by default).
Add an environment variable XWAYLAND_NO_GLAMOR to disable glamor support in Xwayland.
1089d5d xwayland: add envvar XWAYLAND_NO_GLAMOR
hw/xwayland/xwayland-glamor.c | 7 +++++++
1 file changed, 7 insertions(+)