[X2Go-Commits] [nx-libs] 24/28: Screen.c: fix handling of AllScreens without a running window manager

git-admin at x2go.org git-admin at x2go.org
Mon May 16 22:01:47 CEST 2022


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit c8553c70e77317fdafaeb18fb921e346e9a02fb7
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Wed Dec 29 15:20:30 2021 +0100

    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(+)

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))

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list