diff options
author | Mihai Moldovan <ionic@ionic.de> | 2017-12-24 04:57:12 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-12-24 05:22:28 +0100 |
commit | 34bef6330c1cc0d76121dbf556a64044e0ce65c8 (patch) | |
tree | 54d06391bce0a75d94edf2cfa2f9f8d779d73977 /nx-X11/programs | |
parent | 75767979e5691195e5daa040e3b8669aae06c0cc (diff) | |
download | nx-libs-34bef6330c1cc0d76121dbf556a64044e0ce65c8.tar.gz nx-libs-34bef6330c1cc0d76121dbf556a64044e0ce65c8.tar.bz2 nx-libs-34bef6330c1cc0d76121dbf556a64044e0ce65c8.zip |
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.
Diffstat (limited to 'nx-X11/programs')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Screen.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c index d642f63b7..97fe9677d 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 |