diff options
| author | runge <runge> | 2008-11-05 01:18:29 +0000 |
|---|---|---|
| committer | runge <runge> | 2008-11-05 01:18:29 +0000 |
| commit | 63b98dba790fa9835e970b8502d93258862a9373 (patch) | |
| tree | 52b5ba99d6f9fe4b8a818eee16955e5e4e5b50de /x11vnc/remote.c | |
| parent | cb67ada73b007d5f237a281576f753ec6c15844b (diff) | |
| download | libtdevnc-63b98dba790fa9835e970b8502d93258862a9373.tar.gz libtdevnc-63b98dba790fa9835e970b8502d93258862a9373.zip | |
x11vnc: add zeroconf external helpers (avahi-publish and
dns-sd). Alias -zeroconf. Close pipeinput_fh on exit.
Kludge to make -solid work on MacOSX console. Attempt at
cpp macros to disable newer libvncserver interfaces.
Diffstat (limited to 'x11vnc/remote.c')
| -rw-r--r-- | x11vnc/remote.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c index 3d0e031..fd5d02b 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -1417,7 +1417,7 @@ char *process_remote_cmd(char *cmd, int stringonly) { deny_all = 0; goto done; } - if (!strcmp(p, "avahi") || !strcmp(p, "mdns")) { + if (!strcmp(p, "avahi") || !strcmp(p, "mdns") || !strcmp(p, "zeroconf")) { if (query) { snprintf(buf, bufn, "ans=%s:%d", p, avahi); goto qry; @@ -1431,7 +1431,7 @@ char *process_remote_cmd(char *cmd, int stringonly) { } goto done; } - if (!strcmp(p, "noavahi") || !strcmp(p, "nomdns")) { + if (!strcmp(p, "noavahi") || !strcmp(p, "nomdns") || !strcmp(p, "nozeroconf")) { if (query) { snprintf(buf, bufn, "ans=%s:%d", p, !avahi); goto qry; @@ -1914,7 +1914,7 @@ char *process_remote_cmd(char *cmd, int stringonly) { } solid_str = new; use_solid_bg = 1; - if (raw_fb) set_raw_fb_params(0); + if (raw_fb && !macosx_console) set_raw_fb_params(0); if (doit && client_count) { solid_bg(0); @@ -1932,7 +1932,7 @@ char *process_remote_cmd(char *cmd, int stringonly) { solid_str = strdup(solid_default); } use_solid_bg = 1; - if (raw_fb) set_raw_fb_params(0); + if (raw_fb && !macosx_console) set_raw_fb_params(0); if (client_count && !orig) { solid_bg(0); } |
