diff options
author | runge <runge> | 2008-06-01 03:36:47 +0000 |
---|---|---|
committer | runge <runge> | 2008-06-01 03:36:47 +0000 |
commit | 65b42bb85354cce814316a646a4a5ed6025a18e3 (patch) | |
tree | 7cac435d5e12f3e49c1e89d3987510afd66b5169 /x11vnc/x11vnc.c | |
parent | 1983292eb0744ef708b0c01877713b59c42a2e13 (diff) | |
download | libtdevnc-65b42bb85354cce814316a646a4a5ed6025a18e3.tar.gz libtdevnc-65b42bb85354cce814316a646a4a5ed6025a18e3.zip |
x11vnc: support colormaps for depths other than 8. xinerama warppointer only if more than one subscreen.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r-- | x11vnc/x11vnc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index af6b8f2..e8c04fe 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -2514,6 +2514,17 @@ int main(int argc, char* argv[]) { shift_cmap = atoi(argv[++i]); } else if (!strcmp(arg, "-notruecolor")) { force_indexed_color = 1; + } else if (!strcmp(arg, "-advertise_truecolor")) { + advertise_truecolor = 1; + if (i < argc-1) { + char *s = argv[i+1]; + if (s[0] != '-') { + if (strstr(s, "reset")) { + advertise_truecolor_reset = 1; + } + i++; + } + } } else if (!strcmp(arg, "-overlay")) { overlay = 1; } else if (!strcmp(arg, "-overlay_nocursor")) { |