commit 6633915997619c5e3cb21b12f28d5f1d48e854d5
Author: Reed Wade <[email protected]>
AuthorDate: Sat Mar 6 15:11:12 2021 +0100
Commit: Hiltjo Posthuma <[email protected]>
CommitDate: Sun Mar 28 14:35:01 2021 +0200
Usefull if you want to skip somekeys that you want still displayed under
the overlay.
Signed-off-by: Reed Wade <[email protected]>
Signed-off-by: Maarten van Gompel <[email protected]>
diff --git a/svkbd.c b/svkbd.c
index 3102a1e..f66c4e6 100644
--- a/svkbd.c
+++ b/svkbd.c
@@ -879,6 +879,8 @@ showoverlay(int idx)
}
while (keys[j].keysym == 0)
j++;
+ if (overlay[i].width)
+ j += overlay[i].width;
keys[j].label = overlay[i].label;
keys[j].keysym = overlay[i].keysym;
keys[j].modifier = overlay[i].modifier;