summaryrefslogtreecommitdiff
path: root/windows/neo-vars/src
diff options
context:
space:
mode:
authormösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2010-02-23 15:30:17 +0000
committermösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2010-02-23 15:30:17 +0000
commit292ba91ce7de90047473002d92d76101268e950d (patch)
tree17a7e842d18884d0788b403e6ea02067462d2dc4 /windows/neo-vars/src
parent2bfb44f835b68b529612334e028daf2693720fe6 (diff)
downloadneo-layout-292ba91ce7de90047473002d92d76101268e950d.tar.gz
neo-layout-292ba91ce7de90047473002d92d76101268e950d.tar.bz2
neo-layout-292ba91ce7de90047473002d92d76101268e950d.zip
Alte und neue BST deaktivieren sich jetzt gegenseitig bei der eigenen Aktivierung, um gleichzeitige Aktivierung und Probleme bei der Reaktivierung zu vermeiden.
git-svn-id: https://svn.neo-layout.org@2173 b9310e46-f624-0410-8ea1-cfbb3a30dc96
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
}