[hackers] [svkbd] fixed a bug that reset the layer to layer one after hiding the overlay || Maarten van Gompel
commit 1fff13a1b4a1731268ae9a17c058ca0ab86b51ed
Author: Maarten van Gompel <proycon_AT_anaproy.nl>
AuthorDate: Fri Dec 11 17:51:08 2020 +0100
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
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
_AT_@ -835,7 +835,7 @@ hideoverlay(void)
if (debug) printdbg("Hiding overlay, overlay was #%d\n", currentoverlay);
currentoverlay = -1;
overlaykeysym = 0;
- currentlayer = -1;
+ currentlayer--;
cyclelayer();
}
Received on Fri Dec 11 2020 - 18:26:38 CET
This archive was generated by hypermail 2.3.0
: Fri Dec 11 2020 - 18:36:35 CET