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:Joshua Ashton <joshua@froggi.es> Reviewed-by:
Olivier Fourdan <ofourdan@redhat.com>
parent
4119cd9f
No related branches found
No related tags found
Showing
- hw/xwayland/man/Xwayland.man 4 additions, 0 deletionshw/xwayland/man/Xwayland.man
- hw/xwayland/xwayland-output.c 1 addition, 1 deletionhw/xwayland/xwayland-output.c
- hw/xwayland/xwayland-screen.c 3 additions, 0 deletionshw/xwayland/xwayland-screen.c
- hw/xwayland/xwayland-screen.h 1 addition, 0 deletionshw/xwayland/xwayland-screen.h
- hw/xwayland/xwayland.c 1 addition, 0 deletionshw/xwayland/xwayland.c
- hw/xwayland/xwayland.pc.in 1 addition, 0 deletionshw/xwayland/xwayland.pc.in
Loading