fixed a bug that reset the layer to layer one after hiding the overlay - svkbd - simple virtual keyboard
(HTM) git clone git://git.suckless.org/svkbd
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 1fff13a1b4a1731268ae9a17c058ca0ab86b51ed
(DIR) parent 79ff93369c5039d65188ad5e1cc6e8fb6c553af5
(HTM) Author: Maarten van Gompel <proycon@anaproy.nl>
Date: Fri, 11 Dec 2020 17:51:08 +0100
fixed a bug that reset the layer to layer one after hiding the overlay
Diffstat:
M svkbd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/svkbd.c b/svkbd.c
@@ -835,7 +835,7 @@ hideoverlay(void)
if (debug) printdbg("Hiding overlay, overlay was #%d\n", currentoverlay);
currentoverlay = -1;
overlaykeysym = 0;
- currentlayer = -1;
+ currentlayer--;
cyclelayer();
}