aboutsummaryrefslogtreecommitdiff
path: root/nxcomp
diff options
context:
space:
mode:
authorOleksandr Shneyder <o.shneyder@phoca-gmbh.de>2015-02-10 19:43:41 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-10 19:43:41 +0100
commit8c1b852abf692af4898368132292eb8c7278a7c2 (patch)
tree71be8528bc49423444534c510f9c4e1e23a7eff7 /nxcomp
parent4a6ccd5037c8410f24dc177c9286272c2f47cd9d (diff)
downloadnx-libs-8c1b852abf692af4898368132292eb8c7278a7c2.tar.gz
nx-libs-8c1b852abf692af4898368132292eb8c7278a7c2.tar.bz2
nx-libs-8c1b852abf692af4898368132292eb8c7278a7c2.zip
Save session state in file.
210_nxagent_save_session_state.full.patch 210_nxcomp_save_session_state.full+lite.patch This patch adds a "state" option to NX (agent) which allows one to specify a file where nxagent will write its session state into.
Diffstat (limited to 'nxcomp')
-rw-r--r--nxcomp/Loop.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp
index 7e2b990de..12a858b0f 100644
--- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp
@@ -8872,7 +8872,8 @@ int ParseEnvironmentOptions(const char *env, int force)
}
else if (strcasecmp(name, "defer") == 0 ||
strcasecmp(name, "tile") == 0 ||
- strcasecmp(name, "menu") == 0)
+ strcasecmp(name, "menu") == 0 ||
+ strcasecmp(name, "state") == 0 )
{
#ifdef DEBUG
*logofs << "Loop: Ignoring agent option '" << name