diff options
author | runge <runge@karlrunge.com> | 2010-09-10 14:26:58 -0400 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2010-09-10 14:26:58 -0400 |
commit | 067a88160c994e364ebb23900228633b84f99e91 (patch) | |
tree | af2b04b5a044482e35fce85bc48b5504f5e8a2ea /x11vnc/keyboard.c | |
parent | ad254469783b4720db64d8ebeeb12aeb0533e542 (diff) | |
download | libvncserver-067a88160c994e364ebb23900228633b84f99e91.zip libvncserver-067a88160c994e364ebb23900228633b84f99e91.tar.gz |
update to x11vnc 0.9.12
Diffstat (limited to 'x11vnc/keyboard.c')
-rw-r--r-- | x11vnc/keyboard.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/x11vnc/keyboard.c b/x11vnc/keyboard.c index edce680..9e9e044 100644 --- a/x11vnc/keyboard.c +++ b/x11vnc/keyboard.c @@ -1325,7 +1325,7 @@ xkbmodifiers[] For the KeySym bound to this (keycode,group,level) store * loop over all possible (keycode, group, level) triples * and record what we find for it: */ - if (debug_keyboard > 1) { + if (debug_keyboard) { rfbLog("initialize_xkb_modtweak: XKB keycode -> keysyms " "mapping info:\n"); } @@ -1502,7 +1502,7 @@ xkbmodifiers[] For the KeySym bound to this (keycode,group,level) store xkbignore[kc][grp][lvl] = mods_save | ms2; } - if (debug_keyboard > 1) { + if (debug_keyboard) { char *str; fprintf(stderr, " %03d G%d L%d mod=%s ", kc, grp+1, lvl+1, bitprint(ms, 8)); @@ -1560,7 +1560,7 @@ xkbmodifiers[] For the KeySym bound to this (keycode,group,level) store } free(str); } - if (debug_keyboard > 1) { + if (debug_keyboard) { fprintf(stderr, "grp_max=%d lvl_max=%d\n", grp_max, lvl_max); } } @@ -2898,9 +2898,9 @@ static void pipe_keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client) { t[1] = '\0'; if (sscanf(t, "%d", &butt) == 1) { mask = 1<<(butt-1); - pointer(mask, x, y, client); + pointer_event(mask, x, y, client); mask = 0; - pointer(mask, x, y, client); + pointer_event(mask, x, y, client); } b++; } |