aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-12-30 22:48:33 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-01-15 16:38:11 +0100
commit3e093f9eba4b84f79fc19168ef2cad25738628a4 (patch)
tree57fbb874f9c45d4bccdf8c2cffa718b8de752386 /nx-X11/programs
parent090742b3b8362667b1570a47c9a7ce516c6f0d67 (diff)
downloadnx-libs-3e093f9eba4b84f79fc19168ef2cad25738628a4.tar.gz
nx-libs-3e093f9eba4b84f79fc19168ef2cad25738628a4.tar.bz2
nx-libs-3e093f9eba4b84f79fc19168ef2cad25738628a4.zip
nxagent: make nxagentDoFullgeneration a Boolean
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Display.c2
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Init.c2
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Display.c b/nx-X11/programs/Xserver/hw/nxagent/Display.c
index e3857043b..c8a2d852a 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Display.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Display.c
@@ -1796,7 +1796,7 @@ void nxagentCloseDisplay(void)
nxagentDoFullGeneration, (void *) nxagentDisplay);
#endif
- if (nxagentDoFullGeneration == 0 ||
+ if (!nxagentDoFullGeneration ||
nxagentDisplay == NULL)
{
return;
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Init.c b/nx-X11/programs/Xserver/hw/nxagent/Init.c
index b621f62e8..7f5360636 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Init.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c
@@ -171,7 +171,7 @@ int nxagentSaveUnder;
* nxagentOpenScreen
* InitInput
*/
-int nxagentDoFullGeneration = 1;
+Bool nxagentDoFullGeneration = True;
/*
* True if agent is running as X2goAgent
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index e27ed2ec6..e272b3b02 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -1657,7 +1657,7 @@ N/A
nxagentPrintAgentGeometry(NULL, "nxagentOpenScreen:");
#endif
- if (nxagentDoFullGeneration == 1 ||
+ if (nxagentDoFullGeneration ||
nxagentReconnectTrap)
{
unsigned long valuemask = CWBackPixel | CWEventMask | CWColormap;