xserver: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jul 16 17:07:48 UTC 2019


 hw/xwayland/xwayland-output.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d0850241c6218f61127c45c2f95d6e791c3fea44
Author: Adam Jackson <ajax at redhat.com>
Date:   Mon Jul 15 11:38:44 2019 -0400

    xwayland: Expand the RANDR screen size limits
    
    There's not really a good way to query this from the wayland server, so
    just set the maximum to the X11 protocol limits. While we're at it,
    lower the minimum screen size to something implausibly small too, just
    in case.
    
    Fixes: xorg/xserver#850
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

diff --git a/hw/xwayland/xwayland-output.c b/hw/xwayland/xwayland-output.c
index 9d33ed862..aa6f37864 100644
--- a/hw/xwayland/xwayland-output.c
+++ b/hw/xwayland/xwayland-output.c
@@ -476,7 +476,7 @@ xwl_screen_init_output(struct xwl_screen *xwl_screen)
     if (!RRScreenInit(xwl_screen->screen))
         return FALSE;
 
-    RRScreenSetSizeRange(xwl_screen->screen, 320, 200, 8192, 8192);
+    RRScreenSetSizeRange(xwl_screen->screen, 16, 16, 32767, 32767);
 
     rp = rrGetScrPriv(xwl_screen->screen);
     rp->rrGetInfo = xwl_randr_get_info;


More information about the xorg-commit mailing list