summaryrefslogtreecommitdiffstats
path: root/x11vnc/gui.c
diff options
context:
space:
mode:
authorrunge <runge>2008-05-08 01:23:45 +0000
committerrunge <runge>2008-05-08 01:23:45 +0000
commitabbdf92a704790374a12d6da5125b4e95595aaac (patch)
tree55fdb539e7b9d2e0447668f1dad77c96df22aeb1 /x11vnc/gui.c
parentd8812f8c85fcd83412c6ad275d10ce1c43f22240 (diff)
downloadlibvncserver-abbdf92a704790374a12d6da5125b4e95595aaac.zip
libvncserver-abbdf92a704790374a12d6da5125b4e95595aaac.tar.gz
x11vnc: add UltraVNC repeater proxy support. fix to setp gui
mode. -threads is now strongly discouraged. Read PORT= in url. User can set nolisten for Xvfb in -create mode. clean up wait_for_client() to some degree.
Diffstat (limited to 'x11vnc/gui.c')
-rw-r--r--x11vnc/gui.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11vnc/gui.c b/x11vnc/gui.c
index 56975f9..35290b5 100644
--- a/x11vnc/gui.c
+++ b/x11vnc/gui.c
@@ -558,8 +558,11 @@ void do_gui(char *opts, int sleep) {
if ((q = strchr(p, '=')) != NULL) {
icon_mode_font = strdup(q+1);
}
- } else if (!strcmp(p, "full")) {
- ;
+ } else if (strstr(p, "full") == p) {
+ if (strstr(p, "setp") && 0) {
+ set_env("X11VNC_ICON_MODE", "2");
+ set_env("X11VNC_ICON_SETPASS", "2");
+ }
} else if (strstr(p, "tray") == p || strstr(p, "icon") == p) {
char *q;
icon_mode = 1;
OpenPOWER on IntegriCloud