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>
This commit is contained in:
Reed Wade 2021-03-06 15:11:12 +01:00 committed by Hiltjo Posthuma
parent d10af923a3
commit 6633915997
1 changed files with 2 additions and 0 deletions

View File

@ -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;