From 62221868dadd02868a6b2f2d5d837d57c51bcf86 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 24 Jan 2011 13:03:33 +0000 Subject: Xlaunch: Wgl setting was not saved in configuration. --- xorg-server/hw/xwin/xlaunch/config.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xorg-server/hw/xwin/xlaunch') 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(); } -- cgit v1.2.3