[X2Go-Commits] [nx-libs] 40/51: Set default screen size to the whole screen in rootless mode

git-admin at x2go.org git-admin at x2go.org
Fri Feb 8 05:40:13 CET 2019


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

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

commit d175fd4c6d7872bf51c8509a678fecd84a14850a
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Fri Jan 11 00:59:55 2019 +0100

    Set default screen size to the whole screen in rootless mode
    
    This solves weird window (menu) placement and drawing behaviour on right/lowest
    25% of the screen.
    
    Fixes ArcticaProject/nx-libs#757 (Part 1/2)
---
 nx-X11/programs/Xserver/hw/nxagent/Display.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Display.c b/nx-X11/programs/Xserver/hw/nxagent/Display.c
index 448969d..1278749 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Display.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Display.c
@@ -1356,7 +1356,7 @@ FIXME: Use of nxagentParentWindow is strongly deprecated.
   {
     if (!(nxagentUserGeometry.flag & WidthValue))
     {
-      if (nxagentOption(Fullscreen))
+      if (nxagentOption(Fullscreen) || nxagentOption(Rootless))
       {
         nxagentChangeOption(RootWidth, DisplayWidth(nxagentDisplay, DefaultScreen(nxagentDisplay)));
       }
@@ -1369,7 +1369,7 @@ FIXME: Use of nxagentParentWindow is strongly deprecated.
 
     if (!(nxagentUserGeometry.flag & HeightValue))
     {
-      if (nxagentOption(Fullscreen))
+      if (nxagentOption(Fullscreen) || nxagentOption(Rootless))
       {
         nxagentChangeOption(RootHeight, DisplayHeight(nxagentDisplay, DefaultScreen(nxagentDisplay)));
       }

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