From 65b42bb85354cce814316a646a4a5ed6025a18e3 Mon Sep 17 00:00:00 2001 From: runge Date: Sun, 1 Jun 2008 03:36:47 +0000 Subject: x11vnc: support colormaps for depths other than 8. xinerama warppointer only if more than one subscreen. --- x11vnc/x11vnc.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'x11vnc/x11vnc.c') 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")) { -- cgit v1.2.1