diff options
author | marha <marha@users.sourceforge.net> | 2011-03-08 07:34:57 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-03-08 07:34:57 +0000 |
commit | 63605d2d6922dc5740fed9443a53ec4356aced38 (patch) | |
tree | 862b5b4ee5d68ed8996aaedf248b4736f79b99dd /xorg-server/hw/xwin/xlaunch/config.cc | |
parent | cb02cb47d4a5a9db68a29fe3b6a9ec16a6034bf1 (diff) | |
download | vcxsrv-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.cc | 2 |
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);
|