diff options
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++; } |