diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-12-29 15:20:30 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2021-12-29 15:20:30 +0100 |
commit | c8553c70e77317fdafaeb18fb921e346e9a02fb7 (patch) | |
tree | bd13afa78a102624a07967c448f36e6b125975df | |
parent | b06b6b1efe84f5759da3cf6f9dfaf1c2c173aeb6 (diff) | |
download | nx-libs-c8553c70e77317fdafaeb18fb921e346e9a02fb7.tar.gz nx-libs-c8553c70e77317fdafaeb18fb921e346e9a02fb7.tar.bz2 nx-libs-c8553c70e77317fdafaeb18fb921e346e9a02fb7.zip |
Screen.c: fix handling of AllScreens without a running window manager
When used with the old nomachine nxclient (nxclient-3.5.0-9.exe) on
Windows for running a desktop session the screen size was wrong (set
to 3/4 of the requested size while also activating fullscreen because
in that case nomachine's nxwin does not offer a window manager).
Fix this by always setting AllScreens to true when there's no window
manager, just as it was already done with the FullScreen variable.
Fixes: ArcticaProject/nx-libs#1030
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c index 7998f35f0..026a8ff98 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c @@ -967,6 +967,7 @@ Bool nxagentOpenScreen(ScreenPtr pScreen, int argc, char *argv[]) #endif nxagentChangeOption(Fullscreen, True); + nxagentChangeOption(AllScreens, True); if (nxagentOption(ClientOs) == ClientOsWinnt && (!nxagentReconnectTrap || nxagentResizeDesktopAtStartup)) |