commit 6633915997619c5e3cb21b12f28d5f1d48e854d5
parent d10af923a31df4cca4206fbf4f839716482fd1ba
Author: Reed Wade <reedwade@misterbanal.net>
Date: Sat, 6 Mar 2021 15:11:12 +0100
Usefull if you want to skip somekeys that you want still displayed under the overlay.
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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;