summaryrefslogtreecommitdiffstats
path: root/x11vnc/remote.c
diff options
context:
space:
mode:
authorrunge <runge>2006-01-19 03:54:10 +0000
committerrunge <runge>2006-01-19 03:54:10 +0000
commit17e6b6a2bf6def6b380bee2fcc0fb9e8254518f4 (patch)
tree8a387c278f6b7a66a91fd4e8c5deb5b8b9a14e79 /x11vnc/remote.c
parente38c3c224b19775a70c8ee5b8eddbf81be07a0bd (diff)
downloadlibtdevnc-17e6b6a2bf6def6b380bee2fcc0fb9e8254518f4.tar.gz
libtdevnc-17e6b6a2bf6def6b380bee2fcc0fb9e8254518f4.zip
x11vnc: -8to24 now works on default depth 8 displays.
Diffstat (limited to 'x11vnc/remote.c')
-rw-r--r--x11vnc/remote.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c
index 64e915e..8fb7e51 100644
--- a/x11vnc/remote.c
+++ b/x11vnc/remote.c
@@ -984,8 +984,16 @@ char *process_remote_cmd(char *cmd, int stringonly) {
snprintf(buf, bufn, "ans=%s:%d", p, cmap8to24);
goto qry;
}
+ if (overlay) {
+ rfbLog("disabling -overlay in -8to24 mode.\n");
+ overlay = 0;
+ }
rfbLog("remote_cmd: turning on -8to24 mode.\n");
cmap8to24 = 1;
+ if (overlay) {
+ rfbLog("disabling -overlay in -8to24 mode.\n");
+ overlay = 0;
+ }
do_new_fb(0);
} else if (!strcmp(p, "no8to24")) {