From 17e6b6a2bf6def6b380bee2fcc0fb9e8254518f4 Mon Sep 17 00:00:00 2001 From: runge Date: Thu, 19 Jan 2006 03:54:10 +0000 Subject: x11vnc: -8to24 now works on default depth 8 displays. --- x11vnc/x11vnc.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'x11vnc/x11vnc.c') diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index d833aff..f3811c7 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -1560,7 +1560,7 @@ int main(int argc, char* argv[]) { set_wirecopyrect_mode(argv[++i]); got_wirecopyrect = 1; } else if (!strcmp(arg, "-nowirecopyrect") - || !strcmp(arg, "-nowf")) { + || !strcmp(arg, "-nowcr")) { set_wirecopyrect_mode("never"); } else if (!strcmp(arg, "-debug_wireframe") || !strcmp(arg, "-dwf")) { @@ -2054,10 +2054,18 @@ int main(int argc, char* argv[]) { alpha_remove = 0; } + if (cmap8to24 && overlay) { + if (! quiet) { + rfbLog("disabling -overlay in -8to24 mode.\n"); + } + overlay = 0; + } + if (filexfer && view_only) { if (! quiet) { rfbLog("setting -nofilexfer in -viewonly mode.\n"); } + /* how to undo via -R? */ filexfer = 0; } -- cgit v1.2.1