Commit 34bef633 authored by Mihai Moldovan's avatar Mihai Moldovan

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.
parent 75767979
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment