xserver: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 18 13:02:51 UTC 2022


 hw/xwayland/xwayland-output.c |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 4119cd9ffaeb1d2ed554885668edd2b32d955256
Author: Joshua Ashton <joshua at froggi.es>
Date:   Thu May 12 09:28:02 2022 +0000

    xwayland: Add some more xwayland fake modes
    
    Adds the following 16:10 modes primarily for scaling up on Steam Deck:
     - 1152x720
     - 960x600
     - 928x580
     - 800x500
     - 768x480
    
    Signed-off-by: Joshua Ashton <joshua at froggi.es>
    Reviewed-by: Olivier Fourdan <ofourdan at redhat.com>
    Reviewed-by: Hans de Goede <hdegoede at redhat.com>

diff --git a/hw/xwayland/xwayland-output.c b/hw/xwayland/xwayland-output.c
index 3ad8adc8b..927d97194 100644
--- a/hw/xwayland/xwayland-output.c
+++ b/hw/xwayland/xwayland-output.c
@@ -304,6 +304,11 @@ const int32_t xwl_output_fake_modes[][2] = {
     { 1680, 1050 },
     { 1440,  900 },
     { 1280,  800 },
+    { 1152,  720 },
+    {  960,  600 },
+    {  928,  580 },
+    {  800,  500 },
+    {  768,  480 },
     {  720,  480 }, /* 3:2 (1.5) */
     {  640,  400 },
     {  320,  200 },


More information about the xorg-commit mailing list