From c8553c70e77317fdafaeb18fb921e346e9a02fb7 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 29 Dec 2021 15:20:30 +0100 Subject: 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 --- nx-X11/programs/Xserver/hw/nxagent/Screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nx-X11') 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)) -- cgit v1.2.3