From: Reed Wade <[email protected]>
Signed-off-by: Reed Wade <[email protected]>
Signed-off-by: Maarten van Gompel <[email protected]>
---
svkbd.c | 2 ++
1 file changed, 2 insertions(+)
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;
+
}
}
--
2.30.2