Commit 3e093f9e authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

nxagent: make nxagentDoFullgeneration a Boolean

parent 090742b3
...@@ -1796,7 +1796,7 @@ void nxagentCloseDisplay(void) ...@@ -1796,7 +1796,7 @@ void nxagentCloseDisplay(void)
nxagentDoFullGeneration, (void *) nxagentDisplay); nxagentDoFullGeneration, (void *) nxagentDisplay);
#endif #endif
if (nxagentDoFullGeneration == 0 || if (!nxagentDoFullGeneration ||
nxagentDisplay == NULL) nxagentDisplay == NULL)
{ {
return; return;
......
...@@ -171,7 +171,7 @@ int nxagentSaveUnder; ...@@ -171,7 +171,7 @@ int nxagentSaveUnder;
* nxagentOpenScreen * nxagentOpenScreen
* InitInput * InitInput
*/ */
int nxagentDoFullGeneration = 1; Bool nxagentDoFullGeneration = True;
/* /*
* True if agent is running as X2goAgent * True if agent is running as X2goAgent
......
...@@ -1657,7 +1657,7 @@ N/A ...@@ -1657,7 +1657,7 @@ N/A
nxagentPrintAgentGeometry(NULL, "nxagentOpenScreen:"); nxagentPrintAgentGeometry(NULL, "nxagentOpenScreen:");
#endif #endif
if (nxagentDoFullGeneration == 1 || if (nxagentDoFullGeneration ||
nxagentReconnectTrap) nxagentReconnectTrap)
{ {
unsigned long valuemask = CWBackPixel | CWEventMask | CWColormap; unsigned long valuemask = CWBackPixel | CWEventMask | CWColormap;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment