summaryrefslogtreecommitdiffstats
path: root/x11vnc/ssltools.h
diff options
context:
space:
mode:
authorrunge <runge>2007-02-16 02:54:59 +0000
committerrunge <runge>2007-02-16 02:54:59 +0000
commitf1e8149ae75eb7c0b08d4fde27bd164728cfdf68 (patch)
tree0ef2e59420b8d15d90bc61cddb92169acf479060 /x11vnc/ssltools.h
parent241f3ed566d34bf5b6c67ebebcc00727134d93b2 (diff)
downloadlibtdevnc-f1e8149ae75eb7c0b08d4fde27bd164728cfdf68.tar.gz
libtdevnc-f1e8149ae75eb7c0b08d4fde27bd164728cfdf68.zip
x11vnc: tightvnc filetransfer off by default. FINDCREATEDISPLAY geometry.
Diffstat (limited to 'x11vnc/ssltools.h')
-rw-r--r--x11vnc/ssltools.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11vnc/ssltools.h b/x11vnc/ssltools.h
index 1b1a96b..b8e4efb 100644
--- a/x11vnc/ssltools.h
+++ b/x11vnc/ssltools.h
@@ -1234,6 +1234,18 @@ char create_display[] =
"depth=${depth:-16}\n"
"geom=${geom:-1280x1024}\n"
"\n"
+"if [ \"X$FD_GEOM\" != \"X\" -a \"X$FD_GEOM\" != \"XNONE\" ]; then\n"
+" x1=`echo \"$FD_GEOM\" | awk -Fx '{print $1}'`\n"
+" y1=`echo \"$FD_GEOM\" | awk -Fx '{print $2}'`\n"
+" d1=`echo \"$FD_GEOM\" | awk -Fx '{print $3}'`\n"
+" if [ \"X$x1\" != \"X\" -a \"X$y1\" != \"X\" ]; then\n"
+" geom=\"${x1}x${y1}\"\n"
+" fi\n"
+" if [ \"X$d1\" != \"X\" ]; then\n"
+" depth=\"${d1}\"\n"
+" fi\n"
+"fi\n"
+"\n"
"if [ \"X$USER\" = \"X\" ]; then\n"
" USER=$LOGNAME\n"
"fi\n"