[X2Go-Commits] [nx-libs] 01/01: nx-X11/programs/Xserver/hw/nxagent/Screen.c: update screen size after modifying CRTC modes.

git-admin at x2go.org git-admin at x2go.org
Sun Dec 24 05:23:12 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 34bef6330c1cc0d76121dbf556a64044e0ce65c8
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sun Dec 24 04:57:12 2017 +0100

    nx-X11/programs/Xserver/hw/nxagent/Screen.c: update screen size after modifying CRTC modes.
    
    This should get rid of the infamous "800x600 screen size" issue
    reproduced in X2Go whole display setups.
---
 nx-X11/programs/Xserver/hw/nxagent/Screen.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index d642f63..97fe967 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -4206,6 +4206,13 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
     pScrPriv->configChanged = TRUE;
   }
 
+  /*
+   * Adjust screen size according the newly set modes.
+   * Not calling this function leads to the initial screen size left in place,
+   * which is not what we want in case the window is resizable.
+   */
+  RRScreenSizeNotify(pScreen);
+
   /* FIXME: adjust maximum screen size according to remote randr/xinerama setup */
 
   #ifdef DEBUG

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list