aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-24 13:03:33 +0000
committermarha <marha@users.sourceforge.net>2011-01-24 13:03:33 +0000
commit62221868dadd02868a6b2f2d5d837d57c51bcf86 (patch)
tree525f02365fda72aa846c8f85e4a154fa124e3ea3
parent1962644514010b8a4f2f5a3da3503b4390737128 (diff)
downloadvcxsrv-62221868dadd02868a6b2f2d5d837d57c51bcf86.tar.gz
vcxsrv-62221868dadd02868a6b2f2d5d837d57c51bcf86.tar.bz2
vcxsrv-62221868dadd02868a6b2f2d5d837d57c51bcf86.zip
Xlaunch: Wgl setting was not saved in configuration.
-rw-r--r--xorg-server/hw/xwin/xlaunch/config.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/xlaunch/config.cc b/xorg-server/hw/xwin/xlaunch/config.cc
index b6bf65ae3..ce3e9e70f 100644
--- a/xorg-server/hw/xwin/xlaunch/config.cc
+++ b/xorg-server/hw/xwin/xlaunch/config.cc
@@ -183,6 +183,7 @@ void CConfig::Save(const char *filename)
setAttribute(root, L"XDMCPIndirect", indirect?L"True":L"False");
setAttribute(root, L"Clipboard", clipboard?L"True":L"False");
setAttribute(root, L"ExtraParams", extra_params.c_str());
+ setAttribute(root, L"Wgl", wgl?L"True":L"False");
VARIANT var = VariantString(filename);
HRCALL(doc->save(var), "save");
@@ -275,7 +276,8 @@ void CConfig::Load(const char *filename)
getAttributeBool(root, L"XDMCPIndirect", indirect);
getAttributeBool(root, L"Clipboard", clipboard);
getAttribute(root, L"ExtraParams", extra_params);
-
+ getAttributeBool(root, L"Wgl", wgl);
+
doc->Release();
}