diff options
author | runge <runge> | 2008-05-08 01:23:45 +0000 |
---|---|---|
committer | runge <runge> | 2008-05-08 01:23:45 +0000 |
commit | abbdf92a704790374a12d6da5125b4e95595aaac (patch) | |
tree | 55fdb539e7b9d2e0447668f1dad77c96df22aeb1 /x11vnc/gui.c | |
parent | d8812f8c85fcd83412c6ad275d10ce1c43f22240 (diff) | |
download | libtdevnc-abbdf92a704790374a12d6da5125b4e95595aaac.tar.gz libtdevnc-abbdf92a704790374a12d6da5125b4e95595aaac.zip |
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.c | 7 |
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; |