Commit 3563959c authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

NXdispatch.c: move nxagentWMtimeout into the function

it is only used there, no need for a global variable
parent c34d1b20
......@@ -141,10 +141,6 @@ void nxagentWaitDisplay(void);
void nxagentListRemoteFonts(const char *, int);
#ifdef NXAGENT_ONSTART
unsigned int nxagentWMtimeout = 0;
#endif
/*
* Timeouts based on screen saver time.
*/
......@@ -264,12 +260,11 @@ Dispatch(void)
#ifdef NXAGENT_ONSTART
/*
* Set NX_WM property (used by NX client to identify
* the agent's window) three seconds since the first
* client connects.
* Set NX_WM property (used by NX client to identify the agent's
* window) three seconds since the first client connects.
*/
nxagentWMtimeout = GetTimeInMillis() + 3000;
unsigned int nxagentWMtimeout = GetTimeInMillis() + 3000;
#endif
......
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