diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-10-06 17:12:16 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-10-06 17:12:27 +0200 |
commit | e0b8f3eefb64ee95111593c5610f3cc4a680afff (patch) | |
tree | 95c1142f9ae8ab470a0d40fbe9d5055e73ae586f /nx-X11/programs/Xserver/hw/nxagent/Args.c | |
parent | 81d92cd0fa293e44bbb063d373d9289ddc358c99 (diff) | |
download | nx-libs-e0b8f3eefb64ee95111593c5610f3cc4a680afff.tar.gz nx-libs-e0b8f3eefb64ee95111593c5610f3cc4a680afff.tar.bz2 nx-libs-e0b8f3eefb64ee95111593c5610f3cc4a680afff.zip |
Re-add -sync option back to nxagent to allow synchronous debugging of the nxagent DDX.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Args.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Args.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Args.c b/nx-X11/programs/Xserver/hw/nxagent/Args.c index 07e967065..5c5a1e8f8 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Args.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c @@ -103,6 +103,7 @@ extern int _XGetBitsPerPixel(Display *dpy, int depth); extern char dispatchExceptionAtReset; char nxagentDisplayName[1024]; +Bool nxagentSynchronize = False; char nxagentShadowDisplayName[1024] = {0}; @@ -374,6 +375,13 @@ int ddxProcessArgument(int argc, char *argv[], int i) return 0; } + if (!strcmp(argv[i], "-sync")) { + if (++i < argc) { + nxagentSynchronize = True; + return 1; + } + } + if (!strcmp(argv[i], "-full")) { nxagentFullGeneration = True; return 1; |