fix the highlighted key on dragged touch - svkbd - simple virtual keyboard
 (HTM) git clone git://git.suckless.org/svkbd
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 7a6742e6e43c0a540d745e6426a655eebe9ed31f
 (DIR) parent b6055b3310a55d106d518495e6d3696bc9a04739
 (HTM) 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:
         M svkbd.c                             |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) 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;
       +
                }
        }