Maybe it's simpler than that.
When it's working, about:support reports:
Window Protocol = xwayland
and when it's failing you see:
Window Protocol = wayland
Maybe it's simpler than that.
When it's working, about:support reports:
Window Protocol = xwayland
and when it's failing you see:
Window Protocol = wayland