aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Options.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-12-30 22:19:50 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-01-15 16:26:31 +0100
commitbd336c92bf100e037c19f500786a94eac02e2e92 (patch)
tree9b11d7cf8fa8086e4a88abe0d75987e180921630 /nx-X11/programs/Xserver/hw/nxagent/Options.c
parent7b299a4ce6537947a9e2bddc4599e07c7bf2627c (diff)
downloadnx-libs-bd336c92bf100e037c19f500786a94eac02e2e92.tar.gz
nx-libs-bd336c92bf100e037c19f500786a94eac02e2e92.tar.bz2
nx-libs-bd336c92bf100e037c19f500786a94eac02e2e92.zip
nxagent: make Desktop, Rootless and Binder options Booleans (again)
They have been changed to tri-state variables (1, 0 and UNDEFINED) between nxagent 1.5.0-90 and -93, for no obvious reason.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Options.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Options.c b/nx-X11/programs/Xserver/hw/nxagent/Options.c
index c9b07db97..afc6899e3 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Options.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Options.c
@@ -59,9 +59,9 @@ void nxagentInitOptions(void)
{
nxagentOptions.LinkType = UNDEFINED;
- nxagentOptions.Desktop = UNDEFINED;
+ nxagentOptions.Desktop = True;
nxagentOptions.Persistent = True;
- nxagentOptions.Rootless = UNDEFINED;
+ nxagentOptions.Rootless = False;
nxagentOptions.Shadow = False;
nxagentOptions.Fullscreen = False;
nxagentOptions.AllScreens = False;
@@ -121,7 +121,7 @@ void nxagentInitOptions(void)
nxagentOptions.UseDamage = True;
- nxagentOptions.Binder = UNDEFINED;
+ nxagentOptions.Binder = False;
nxagentOptions.BinderOptions = NULL;
nxagentOptions.Xdmcp = False;