diff options
author | runge <runge@karlrunge.com> | 2010-03-21 00:05:51 -0400 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2010-03-21 00:05:51 -0400 |
commit | 97540de56ca8a975ed31d86879d0e5c4cf169173 (patch) | |
tree | 6c8c0a28c3559a15c6a76bed92dc2a4c62630914 /x11vnc/keyboard.c | |
parent | edb79ae2b1d39bc12d489bcded74ab966e019994 (diff) | |
download | libtdevnc-97540de56ca8a975ed31d86879d0e5c4cf169173.tar.gz libtdevnc-97540de56ca8a975ed31d86879d0e5c4cf169173.zip |
classes/ssl: Many improvements to Java SSL applet, onetimekey
serverCert param, debugging printout, user dialogs, catch
socket exceptions, autodetect x11vnc for GET=1.
x11vnc: misc/scripts: desktop.cgi, inet6to4, panner.pl.
X11VNC_HTTPS_DOWNLOAD_WAIT_TIME, -unixpw %xxx documented, and
can run user cmd in UNIXPW_CMD. FD_XDMCP_IF for create script,
autodetect dm on udp6 only. Queries: pointer_x, pointer_y,
pointer_same, pointer_root. Switch on -xkd if keysyms per key >
4 in all cases. daemon mode improvements for connect_switch,
inet6to4, ultravnc_repeater.pl. Dynamic change of -clip do
not create new fb if WxH is unchanged.
Diffstat (limited to 'x11vnc/keyboard.c')
-rw-r--r-- | x11vnc/keyboard.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/x11vnc/keyboard.c b/x11vnc/keyboard.c index cdf85e9..edce680 100644 --- a/x11vnc/keyboard.c +++ b/x11vnc/keyboard.c @@ -1114,7 +1114,8 @@ void switch_to_xkb_if_better(void) { n = k; XFree_wr(keymap); - if (missing_noxkb == 0 && syms_gt_4 >= 8) { + if (missing_noxkb == 0 && syms_per_keycode > 4 && syms_gt_4 >= 0) { + /* we used to have syms_gt_4 >= 8, now always on. */ if (! raw_fb_str) { rfbLog("\n"); rfbLog("XKEYBOARD: number of keysyms per keycode %d is greater\n", syms_per_keycode); @@ -1123,6 +1124,7 @@ void switch_to_xkb_if_better(void) { rfbLog(" If this makes the key mapping worse you can\n"); rfbLog(" disable it with the \"-noxkb\" option.\n"); rfbLog(" Also, remember \"-remap DEAD\" for accenting characters.\n"); + rfbLog("\n"); } use_xkb_modtweak = 1; @@ -1135,6 +1137,7 @@ void switch_to_xkb_if_better(void) { rfbLog(" Not automatically switching to -xkb mode.\n"); rfbLog(" If some keys still cannot be typed, try using -xkb.\n"); rfbLog(" Also, remember \"-remap DEAD\" for accenting characters.\n"); + rfbLog("\n"); } return; } @@ -1217,6 +1220,7 @@ void switch_to_xkb_if_better(void) { rfbLog(" Also, remember \"-remap DEAD\" for accenting" " characters.\n"); } + rfbLog("\n"); } /* sets up all the keymapping info via Xkb API */ |