--- svkbd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/svkbd.c b/svkbd.c index 7f1cedf..1b1e82c 100644 --- a/svkbd.c +++ b/svkbd.c _AT_@ -584,7 +584,6 @@ unpress(Key *k, KeySym mod) simulate_keypress(mod); } simulate_keypress(k->keysym); - if (printoutput) printkey(k, mod); pressbegin.tv_sec = 0; pressbegin.tv_usec = 0; } _AT_@ -601,9 +600,9 @@ unpress(Key *k, KeySym mod) for (i = 0; i < numkeys; i++) { if (keys[i].pressed && !IsModifierKey(keys[i].keysym)) { simulate_keyrelease(keys[i].keysym); + if ((printoutput) && (ispressingkeysym == keys[i].keysym)) printkey(&keys[i], mod); keys[i].pressed = 0; drawkey(&keys[i]); - break; } } if (i != numkeys) { -- 2.30.2Received on Fri Mar 19 2021 - 21:39:29 CET
This archive was generated by hypermail 2.3.0 : Fri Mar 19 2021 - 22:24:33 CET