diff options
author | marha <marha@users.sourceforge.net> | 2011-01-24 13:03:33 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-01-24 13:03:33 +0000 |
commit | 62221868dadd02868a6b2f2d5d837d57c51bcf86 (patch) | |
tree | 525f02365fda72aa846c8f85e4a154fa124e3ea3 /xorg-server/hw/xwin | |
parent | 1962644514010b8a4f2f5a3da3503b4390737128 (diff) | |
download | vcxsrv-62221868dadd02868a6b2f2d5d837d57c51bcf86.tar.gz vcxsrv-62221868dadd02868a6b2f2d5d837d57c51bcf86.tar.bz2 vcxsrv-62221868dadd02868a6b2f2d5d837d57c51bcf86.zip |
Xlaunch: Wgl setting was not saved in configuration.
Diffstat (limited to 'xorg-server/hw/xwin')
-rw-r--r-- | xorg-server/hw/xwin/xlaunch/config.cc | 4 |
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(); } |