aboutsummaryrefslogtreecommitdiffstats
path: root/unix/xserver
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2010-04-23 13:55:10 +0000
committerAdam Tkac <atkac@redhat.com>2010-04-23 13:55:10 +0000
commitc58b3d11f7df6724475d76569469ee2e30b3ccae (patch)
tree8d6063443be8def1cd38cf61b126bb796acb224e /unix/xserver
parentfbd94365988dd7d58ce2751ad5ec0ea07b2f129e (diff)
downloadtigervnc-c58b3d11f7df6724475d76569469ee2e30b3ccae.tar.gz
tigervnc-c58b3d11f7df6724475d76569469ee2e30b3ccae.zip
[Development] Add possibility to define viewer/server specific parameters via
Configuration class. Change needed viewer/server code appropriately. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4032 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/xserver')
-rw-r--r--unix/xserver/hw/vnc/xf86vncModule.cc1
-rw-r--r--unix/xserver/hw/vnc/xvnc.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/xf86vncModule.cc b/unix/xserver/hw/vnc/xf86vncModule.cc
index d0a1257f..08ebfbe3 100644
--- a/unix/xserver/hw/vnc/xf86vncModule.cc
+++ b/unix/xserver/hw/vnc/xf86vncModule.cc
@@ -83,6 +83,7 @@ static void vncExtensionInitWithParams(INITARGS)
{
rfb::initStdIOLoggers();
rfb::LogWriter::setLogParams("*:stderr:30");
+ rfb::Configuration::enableServerParams();
for (int scr = 0; scr < screenInfo.numScreens; scr++) {
ScrnInfoPtr pScrn = xf86Screens[scr];
diff --git a/unix/xserver/hw/vnc/xvnc.cc b/unix/xserver/hw/vnc/xvnc.cc
index 1d19695e..af35f253 100644
--- a/unix/xserver/hw/vnc/xvnc.cc
+++ b/unix/xserver/hw/vnc/xvnc.cc
@@ -335,6 +335,7 @@ ddxProcessArgument(int argc, char *argv[], int i)
firstTime = FALSE;
rfb::initStdIOLoggers();
rfb::LogWriter::setLogParams("*:stderr:30");
+ rfb::Configuration::enableServerParams();
}
if (argv[i][0] == ':')