commit 1fff13a1b4a1731268ae9a17c058ca0ab86b51ed
Author:     Maarten van Gompel <[email protected]>
AuthorDate: Fri Dec 11 17:51:08 2020 +0100
Commit:     Hiltjo Posthuma <[email protected]>
CommitDate: Fri Dec 11 18:25:53 2020 +0100

    fixed a bug that reset the layer to layer one after hiding the overlay

diff --git a/svkbd.c b/svkbd.c
index d49bcd8..9b1282a 100644
--- 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();
 }
 

Reply via email to