add -noskip_lockkeys option for future use.

pull/1/head
runge 16 years ago
parent e59f78c5ea
commit d400112c89

@ -1,3 +1,6 @@
2009-02-21 Karl Runge <runge@karlrunge.com>
* x11vnc: add -noskip_lockkeys option for future use.
2009-02-03 Karl Runge <runge@karlrunge.com> 2009-02-03 Karl Runge <runge@karlrunge.com>
* x11vnc: Add "sendbell" remote cmd. Fix copyrect updates under * x11vnc: Add "sendbell" remote cmd. Fix copyrect updates under
-reflect. Workaround that checks valid window of selection -reflect. Workaround that checks valid window of selection

File diff suppressed because it is too large Load Diff

@ -2573,7 +2573,7 @@ void print_help(int mode) {
" possible workaround.\n" " possible workaround.\n"
"\n" "\n"
"-skip_lockkeys Have x11vnc ignore all Caps_Lock, Shift_Lock, Num_Lock,\n" "-skip_lockkeys Have x11vnc ignore all Caps_Lock, Shift_Lock, Num_Lock,\n"
" Scroll_Lock keysyms received from viewers. The idea is\n" "-noskip_lockkeys Scroll_Lock keysyms received from viewers. The idea is\n"
" you press Caps_Lock on the VNC Viewer side but that does\n" " you press Caps_Lock on the VNC Viewer side but that does\n"
" not change the lock state in the x11vnc-side X server.\n" " not change the lock state in the x11vnc-side X server.\n"
" Nevertheless your capitalized letters come in over\n" " Nevertheless your capitalized letters come in over\n"
@ -2582,6 +2582,7 @@ void print_help(int mode) {
" want in -nomodtweak mode. Also, a kludge for KP_n\n" " want in -nomodtweak mode. Also, a kludge for KP_n\n"
" digits is always done it this mode: they are mapped to\n" " digits is always done it this mode: they are mapped to\n"
" regular digit keysyms. See also -capslock above.\n" " regular digit keysyms. See also -capslock above.\n"
" The default is -noskip_lockkeys.\n"
"\n" "\n"
"-skip_keycodes string Ignore the comma separated list of decimal keycodes.\n" "-skip_keycodes string Ignore the comma separated list of decimal keycodes.\n"
" Perhaps these are keycodes not on your keyboard but\n" " Perhaps these are keycodes not on your keyboard but\n"

@ -2,7 +2,7 @@
.TH X11VNC "1" "February 2009" "x11vnc " "User Commands" .TH X11VNC "1" "February 2009" "x11vnc " "User Commands"
.SH NAME .SH NAME
x11vnc - allow VNC connections to real X11 displays x11vnc - allow VNC connections to real X11 displays
version: 0.9.7, lastmod: 2009-01-24 version: 0.9.7, lastmod: 2009-02-21
.SH SYNOPSIS .SH SYNOPSIS
.B x11vnc .B x11vnc
[OPTION]... [OPTION]...
@ -2942,7 +2942,7 @@ pressing CapsLock outside of the viewer window, also
\fB-skip_lockkeys\fR below). Also try \fB-nomodtweak\fR for a \fB-skip_lockkeys\fR below). Also try \fB-nomodtweak\fR for a
possible workaround. possible workaround.
.PP .PP
\fB-skip_lockkeys\fR \fB-skip_lockkeys,\fR \fB-noskip_lockkeys\fR
.IP .IP
Have x11vnc ignore all Caps_Lock, Shift_Lock, Num_Lock, Have x11vnc ignore all Caps_Lock, Shift_Lock, Num_Lock,
Scroll_Lock keysyms received from viewers. The idea is Scroll_Lock keysyms received from viewers. The idea is
@ -2954,6 +2954,7 @@ X server. Note this mode probably won't do what you
want in \fB-nomodtweak\fR mode. Also, a kludge for KP_n want in \fB-nomodtweak\fR mode. Also, a kludge for KP_n
digits is always done it this mode: they are mapped to digits is always done it this mode: they are mapped to
regular digit keysyms. See also \fB-capslock\fR above. regular digit keysyms. See also \fB-capslock\fR above.
The default is \fB-noskip_lockkeys.\fR
.PP .PP
\fB-skip_keycodes\fR \fIstring\fR \fB-skip_keycodes\fR \fIstring\fR
.IP .IP

@ -2944,6 +2944,10 @@ int main(int argc, char* argv[]) {
skip_lockkeys = 1; skip_lockkeys = 1;
continue; continue;
} }
if (!strcmp(arg, "-noskip_lockkeys")) {
skip_lockkeys = 0;
continue;
}
if (!strcmp(arg, "-xkbcompat")) { if (!strcmp(arg, "-xkbcompat")) {
xkbcompat = 1; xkbcompat = 1;
continue; continue;

@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
int xdamage_base_event_type = 0; int xdamage_base_event_type = 0;
/* date +'lastmod: %Y-%m-%d' */ /* date +'lastmod: %Y-%m-%d' */
char lastmod[] = "0.9.7 lastmod: 2009-01-24"; char lastmod[] = "0.9.7 lastmod: 2009-02-21";
/* X display info */ /* X display info */

Loading…
Cancel
Save