summaryrefslogtreecommitdiff
path: root/windows/neo-vars/src
diff options
context:
space:
mode:
Diffstat (limited to 'windows/neo-vars/src')
-rw-r--r--windows/neo-vars/src/source/screenkeyboard.ahk3
-rw-r--r--windows/neo-vars/src/source/screenkeyboard_new.ahk3
2 files changed, 6 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
diff --git a/windows/neo-vars/src/source/screenkeyboard_new.ahk b/windows/neo-vars/src/source/screenkeyboard_new.ahk
index b0a9a55..bb3f567 100644
--- a/windows/neo-vars/src/source/screenkeyboard_new.ahk
+++ b/windows/neo-vars/src/source/screenkeyboard_new.ahk
@@ -113,6 +113,9 @@ CharProc_BSTN0() {
CharProc_BSTN1() {
global
+ if (GuiCurrent!="")
+ %GuiCurrent%OnClose()
+
if (FileExist(ResourceFolder)!="") {
FileInstall,ebene0.png,%ResourceFolder%\ebene0.png,1
}