aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Options.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-12-30 20:07:57 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-01-15 16:26:31 +0100
commit2b4ccc30a7c35593cdd0ec9c19f74cc8217d2a94 (patch)
treedc498027532bad2d23ef072c9b9acd6f6a8ace48 /nx-X11/programs/Xserver/hw/nxagent/Options.c
parenta85adf5ea25ed8c3b7f72ffbd04cda0122f1b5a1 (diff)
downloadnx-libs-2b4ccc30a7c35593cdd0ec9c19f74cc8217d2a94.tar.gz
nx-libs-2b4ccc30a7c35593cdd0ec9c19f74cc8217d2a94.tar.bz2
nx-libs-2b4ccc30a7c35593cdd0ec9c19f74cc8217d2a94.zip
nxagent: treat several nxagentOptions as real Booleans
Adaptive, Composite, DeviceControl, DeviceControlUserDefined, IgnoreVisibility, InhibitXkb, Nested, Menu, MagicPixel, Persistent, Reset, ResetzKeyboardAtResume, SharedMemory, SharedPixmaps, Streaming, UseDamage, ViewOnly, Xdmcp, Xinerama
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Options.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Options.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Options.c b/nx-X11/programs/Xserver/hw/nxagent/Options.c
index d4a7479e3..dd474e3dd 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Options.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Options.c
@@ -60,7 +60,7 @@ void nxagentInitOptions(void)
nxagentOptions.LinkType = UNDEFINED;
nxagentOptions.Desktop = UNDEFINED;
- nxagentOptions.Persistent = 1;
+ nxagentOptions.Persistent = True;
nxagentOptions.Rootless = UNDEFINED;
nxagentOptions.Fullscreen = False;
nxagentOptions.AllScreens = False;
@@ -82,23 +82,23 @@ void nxagentInitOptions(void)
nxagentOptions.Timeout = 0;
- nxagentOptions.Nested = 0;
+ nxagentOptions.Nested = False;
nxagentOptions.BackingStore = BackingStoreUndefined;
nxagentOptions.Clipboard = ClipboardBoth;
- nxagentOptions.SharedMemory = 1;
+ nxagentOptions.SharedMemory = True;
- nxagentOptions.SharedPixmaps = 1;
+ nxagentOptions.SharedPixmaps = True;
- nxagentOptions.DeviceControl = 0;
+ nxagentOptions.DeviceControl = False;
- nxagentOptions.DeviceControlUserDefined = 0;
+ nxagentOptions.DeviceControlUserDefined = False;
- nxagentOptions.ResetKeyboardAtResume = 1;
+ nxagentOptions.ResetKeyboardAtResume = True;
- nxagentOptions.Reset = 0;
+ nxagentOptions.Reset = False;
nxagentOptions.RootX = 0;
nxagentOptions.RootY = 0;
@@ -118,25 +118,25 @@ void nxagentInitOptions(void)
nxagentOptions.FloatXRatio = 1.0;
nxagentOptions.FloatYRatio = 1.0;
- nxagentOptions.UseDamage = 1;
+ nxagentOptions.UseDamage = True;
nxagentOptions.Binder = UNDEFINED;
nxagentOptions.BinderOptions = NULL;
- nxagentOptions.Xdmcp = 0;
+ nxagentOptions.Xdmcp = False;
nxagentOptions.DisplayBuffer = UNDEFINED;
nxagentOptions.DisplayCoalescence = 0;
- nxagentOptions.Composite = 1;
+ nxagentOptions.Composite = True;
- nxagentOptions.IgnoreVisibility = 0;
+ nxagentOptions.IgnoreVisibility = False;
- nxagentOptions.ViewOnly = 0;
+ nxagentOptions.ViewOnly = False;
- nxagentOptions.Adaptive = 0;
+ nxagentOptions.Adaptive = False;
- nxagentOptions.Streaming = 0;
+ nxagentOptions.Streaming = False;
nxagentOptions.DeferLevel = UNDEFINED;
nxagentOptions.DeferTimeout = 200;
@@ -144,19 +144,19 @@ void nxagentInitOptions(void)
nxagentOptions.TileWidth = UNDEFINED;
nxagentOptions.TileHeight = UNDEFINED;
- nxagentOptions.Menu = 1;
+ nxagentOptions.Menu = True;
- nxagentOptions.MagicPixel = 1;
+ nxagentOptions.MagicPixel = True;
nxagentOptions.ClientOs = UNDEFINED;
- nxagentOptions.InhibitXkb = 1;
+ nxagentOptions.InhibitXkb = True;
nxagentOptions.CopyBufferSize = COPY_UNLIMITED;
nxagentOptions.ImageRateLimit = 0;
- nxagentOptions.Xinerama = 1;
+ nxagentOptions.Xinerama = True;
nxagentOptions.SleepTimeMillis = DEFAULT_SLEEP_TIME_MILLIS;