aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/xlaunch/config.cc
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-08 07:34:57 +0000
committermarha <marha@users.sourceforge.net>2011-03-08 07:34:57 +0000
commit63605d2d6922dc5740fed9443a53ec4356aced38 (patch)
tree862b5b4ee5d68ed8996aaedf248b4736f79b99dd /xorg-server/hw/xwin/xlaunch/config.cc
parentcb02cb47d4a5a9db68a29fe3b6a9ec16a6034bf1 (diff)
downloadvcxsrv-63605d2d6922dc5740fed9443a53ec4356aced38.tar.gz
vcxsrv-63605d2d6922dc5740fed9443a53ec4356aced38.tar.bz2
vcxsrv-63605d2d6922dc5740fed9443a53ec4356aced38.zip
Added option to terminate on server reset when xmdcp
Diffstat (limited to 'xorg-server/hw/xwin/xlaunch/config.cc')
-rw-r--r--xorg-server/hw/xwin/xlaunch/config.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/xlaunch/config.cc b/xorg-server/hw/xwin/xlaunch/config.cc
index 21c7079df..c7ac398fb 100644
--- a/xorg-server/hw/xwin/xlaunch/config.cc
+++ b/xorg-server/hw/xwin/xlaunch/config.cc
@@ -93,6 +93,7 @@ void CConfig::Save(const char *filename)
setAttribute(root, "ExtraParams", extra_params.c_str());
setAttribute(root, "Wgl", wgl?"True":"False");
setAttribute(root, "DisableAC", disableac?"True":"False");
+ setAttribute(root, "XDMCPTerminate", xdmcpterminate?"True":"False");
xmlSaveFormatFileEnc(filename, doc, "UTF-8", 1);
@@ -183,6 +184,7 @@ void CConfig::Load(const char *filename)
getAttribute(root, "ExtraParams", extra_params);
getAttributeBool(root, "Wgl", wgl);
getAttributeBool(root, "DisableAC", disableac);
+ getAttributeBool(root, "XDMCPTerminate", xdmcpterminate);
/*free the document */
xmlFreeDoc(doc);