[X2Go-Commits] [nx-libs] 38/429: Screen.c: remove code that will have no effect

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:36:02 CEST 2021


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 2c6b9117fecd23ec683bff2986a894ad75f54e36
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Tue May 26 00:37:58 2020 +0200

    Screen.c: remove code that will have no effect
    
    setting a value for an attribute in the structure is pointless if you
    do not set the valuemask accordingly. Adding the missing valuemask
    code here would also be pointless because the valuemask is set to a fixed
    value later on. Therefore we can drop this code here.
---
 nx-X11/programs/Xserver/hw/nxagent/Screen.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index 909a34b2d..172598779 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -1431,11 +1431,6 @@ N/A
       nxagentChangeOption(Height, gattributes.height);
     }
 
-    if (nxagentOption(AllScreens))
-    {
-      attributes.override_redirect = True; 
-    }
-
     if (nxagentOption(Fullscreen))
     {
       /*

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