Skip to content
Snippets Groups Projects
Commit 7cdcdfea authored by Autumn Ashton's avatar Autumn Ashton :frog: Committed by Olivier Fourdan
Browse files

xwayland: Add -force-xrandr-emulation switch


Adds a -force-xrandr-emulation cmdline switch that always exposes extra
modes when viewporter isn't exposed by the Wayland compositor.

Having the additional modes exposed by the X server is important for
games to function and be configured

Compositors, such as Gamescope (the compositor for Steam Deck),
support only a single window that is rendered in the centre of the
screen that is scaled up to fill the screen by the compositor based
on some user scaling settings.

Exposing viewporter, wouldn't make sense here, and could mislead native
Wayland clients, so exposing dummy modesets in X is preferred here.

Signed-off-by: default avatarJoshua Ashton <joshua@froggi.es>
Reviewed-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
parent 4119cd9f
No related branches found
No related tags found
1 merge request!900xwayland: Add -force-xrandr-emulation switch
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment