aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-05-26 00:37:58 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-10-17 22:38:05 +0200
commit2c6b9117fecd23ec683bff2986a894ad75f54e36 (patch)
treed55df5aedd6076e230a0394d0329a647477bda89
parented4cbaeda12e0d8324c406ae3986274227f5f69f (diff)
downloadnx-libs-2c6b9117fecd23ec683bff2986a894ad75f54e36.tar.gz
nx-libs-2c6b9117fecd23ec683bff2986a894ad75f54e36.tar.bz2
nx-libs-2c6b9117fecd23ec683bff2986a894ad75f54e36.zip
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.
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c5
1 files changed, 0 insertions, 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))
{
/*