commit 7a6742e6e43c0a540d745e6426a655eebe9ed31f
Author:     Reed Wade <[email protected]>
AuthorDate: Tue Mar 9 23:26:02 2021 +0100
Commit:     Hiltjo Posthuma <[email protected]>
CommitDate: Sun Mar 28 14:35:01 2021 +0200

    fix the highlighted key on dragged touch
    
    Signed-off-by: Reed Wade <[email protected]>
    Signed-off-by: Maarten van Gompel <[email protected]>

diff --git a/svkbd.c b/svkbd.c
index 2ea4141..7f1cedf 100644
--- 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;
+
        }
 }
 

Reply via email to