diff options
Diffstat (limited to 'nx-X11/programs/Xserver/hw')
-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 |