diff options
author | runge <runge> | 2006-01-19 03:54:10 +0000 |
---|---|---|
committer | runge <runge> | 2006-01-19 03:54:10 +0000 |
commit | 17e6b6a2bf6def6b380bee2fcc0fb9e8254518f4 (patch) | |
tree | 8a387c278f6b7a66a91fd4e8c5deb5b8b9a14e79 /x11vnc/x11vnc.c | |
parent | e38c3c224b19775a70c8ee5b8eddbf81be07a0bd (diff) | |
download | libtdevnc-17e6b6a2bf6def6b380bee2fcc0fb9e8254518f4.tar.gz libtdevnc-17e6b6a2bf6def6b380bee2fcc0fb9e8254518f4.zip |
x11vnc: -8to24 now works on default depth 8 displays.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r-- | x11vnc/x11vnc.c | 10 |
1 files changed, 9 insertions, 1 deletions
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; } |