summaryrefslogtreecommitdiff
path: root/windows/neo-vars/src/source/screenkeyboard.ahk
diff options
context:
space:
mode:
Diffstat (limited to 'windows/neo-vars/src/source/screenkeyboard.ahk')
-rw-r--r--windows/neo-vars/src/source/screenkeyboard.ahk3
1 files changed, 3 insertions, 0 deletions
diff --git a/windows/neo-vars/src/source/screenkeyboard.ahk b/windows/neo-vars/src/source/screenkeyboard.ahk
index b4e2199..bacc3b8 100644
--- a/windows/neo-vars/src/source/screenkeyboard.ahk
+++ b/windows/neo-vars/src/source/screenkeyboard.ahk
@@ -48,6 +48,9 @@ BSTToggle() {
GuiCurrent := ""
Gui, Destroy
} else {
+ if (GuiCurrent!="")
+ %GuiCurrent%OnClose()
+
SysGet, WorkArea, MonitorWorkArea
yPosition := WorkAreaBottom - 230
Gui, Color, FFFFFF