Introduction
Introduction Statistics Contact Development Disclaimer Help
fix for output key on release - svkbd - simple virtual keyboard
git clone git://git.suckless.org/svkbd
Log
Files
Refs
README
LICENSE
---
commit a43bf5c4c159a07f3350eeca8b0119e661359cf6
parent 4ec3b00d6cfb7a3af8f420361f6fb104e774c411
Author: Maarten van Gompel <[email protected]>
Date: Sun, 14 Mar 2021 13:20:39 +0100
fix for output key on release
Diffstat:
M svkbd.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/svkbd.c b/svkbd.c
@@ -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;
}
@@ -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].keys…
keys[i].pressed = 0;
drawkey(&keys[i]);
- break;
}
}
if (i != numkeys) {
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.