diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-12-30 20:07:57 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-01-15 16:38:11 +0100 |
commit | 2565484f5d6dc7dc794e729a1fdd15bfba3b48b0 (patch) | |
tree | 67f6c6009a622fe9909cd212904702598915bd9d /nx-X11/programs/Xserver/hw/nxagent/Display.c | |
parent | ca5a14743168055638a1e8b1fcd5833eeeec515d (diff) | |
download | nx-libs-2565484f5d6dc7dc794e729a1fdd15bfba3b48b0.tar.gz nx-libs-2565484f5d6dc7dc794e729a1fdd15bfba3b48b0.tar.bz2 nx-libs-2565484f5d6dc7dc794e729a1fdd15bfba3b48b0.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/Display.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Display.c b/nx-X11/programs/Xserver/hw/nxagent/Display.c index 9adc67a21..e3857043b 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Display.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Display.c @@ -312,7 +312,7 @@ static void nxagentSighupHandler(int signal) } else if (nxagentSessionState == SESSION_UP) { - if (nxagentOption(Persistent) == 1) + if (nxagentOption(Persistent)) { #ifdef TEST fprintf(stderr, "nxagentSighupHandler: Handling the signal by disconnecting the agent.\n"); |