diff options
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/os/Imakefile | 1 | ||||
-rw-r--r-- | nx-X11/programs/Xserver/os/utils.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/os/Imakefile b/nx-X11/programs/Xserver/os/Imakefile index 86f5cd4e6..7932e32cd 100644 --- a/nx-X11/programs/Xserver/os/Imakefile +++ b/nx-X11/programs/Xserver/os/Imakefile @@ -43,6 +43,7 @@ NX_DEFINES = -DNX_TRANS_SOCKET \ -DNX_TRANS_SLEEP \ -DNX_TRANS_EXIT \ -DNX_TRANS_WAKEUP=1000 \ + -DNXAGENT_SERVER \ $(NULL) # -DNX_TRANS_WARN \ diff --git a/nx-X11/programs/Xserver/os/utils.c b/nx-X11/programs/Xserver/os/utils.c index 74acb53ef..dce04e942 100644 --- a/nx-X11/programs/Xserver/os/utils.c +++ b/nx-X11/programs/Xserver/os/utils.c @@ -902,6 +902,11 @@ ProcessCommandLine(int argc, char *argv[]) else if ( strcmp( argv[i], "-nolisten") == 0) { if(++i < argc) { +#ifdef NXAGENT_SERVER + if (strcmp( argv[i], "ANY" ) == 0) + NoListenAll = TRUE; + else +#endif /* NXAGENT_SERVER */ if (_XSERVTransNoListen(argv[i])) FatalError ("Failed to disable listen for %s transport", argv[i]); |