aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/xlaunch/config.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-05-03 13:09:19 +0200
committermarha <marha@users.sourceforge.net>2012-05-03 13:09:19 +0200
commit460182676a960385dff96c1563f781213060f6fc (patch)
tree7c5a3aa0be17d0dbbd1043af86bff3cb7ed96508 /xorg-server/hw/xwin/xlaunch/config.h
parente230e5cc86752a7c8873135909e83ea12cec8160 (diff)
downloadvcxsrv-460182676a960385dff96c1563f781213060f6fc.tar.gz
vcxsrv-460182676a960385dff96c1563f781213060f6fc.tar.bz2
vcxsrv-460182676a960385dff96c1563f781213060f6fc.zip
Now the display number can be set to automatic by specifying -1
Diffstat (limited to 'xorg-server/hw/xwin/xlaunch/config.h')
-rw-r--r--xorg-server/hw/xwin/xlaunch/config.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/xorg-server/hw/xwin/xlaunch/config.h b/xorg-server/hw/xwin/xlaunch/config.h
index ecd22fe75..d9ec96ede 100644
--- a/xorg-server/hw/xwin/xlaunch/config.h
+++ b/xorg-server/hw/xwin/xlaunch/config.h
@@ -59,11 +59,7 @@ struct CConfig
bool disableac;
bool xdmcpterminate;
std::string extra_params;
-#ifdef _DEBUG
- CConfig() : window(MultiWindow), client(NoClient), display("1"),
-#else
- CConfig() : window(MultiWindow), client(NoClient), display("0"),
-#endif
+ CConfig() : window(MultiWindow), client(NoClient), display("-1"),
local(false),
remotepassword(""),
localprogram("xcalc"),
@@ -77,7 +73,7 @@ struct CConfig
clipboard(true),
clipboardprimary(true),
extra_params(),
- disableac(true),
+ disableac(false),
wgl(true),
xdmcpterminate(false)
{