svkbd

simple virtual keyboard
git clone git://git.suckless.org/svkbd
Log | Files | Refs | README | LICENSE

commit 7a6742e6e43c0a540d745e6426a655eebe9ed31f
parent b6055b3310a55d106d518495e6d3696bc9a04739
Author: Reed Wade <reedwade@misterbanal.net>
Date:   Tue,  9 Mar 2021 23:26:02 +0100

fix the highlighted key on dragged touch

Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>

Diffstat:
Msvkbd.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/svkbd.c b/svkbd.c @@ -177,6 +177,8 @@ motionnotify(XEvent *e) if ((lostfocus != -1) && (gainedfocus != -1) && (lostfocus != gainedfocus)) { if (debug) printdbg("Clicking new key that gained focus\n"); press(&keys[gainedfocus], 0); + keys[gainedfocus].highlighted = True; + } }