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

This commit is contained in:
Maarten van Gompel 2020-12-11 17:51:08 +01:00 committed by Hiltjo Posthuma
parent 79ff93369c
commit 1fff13a1b4
1 changed files with 1 additions and 1 deletions

View File

@ -835,7 +835,7 @@ hideoverlay(void)
if (debug) printdbg("Hiding overlay, overlay was #%d\n", currentoverlay);
currentoverlay = -1;
overlaykeysym = 0;
currentlayer = -1;
currentlayer--;
cyclelayer();
}