Re-fixed bug in "Monitor_activateView"

This commit is contained in:
joten 2015-03-01 21:09:54 +01:00
parent c004d98d25
commit 867d0c31f8

View file

@ -78,6 +78,9 @@ Monitor_activateView(i, d = 0) {
} }
SetWinDelay, 10 SetWinDelay, 10
DetectHiddenWindows, On DetectHiddenWindows, On
wndId := View_#%m%_#%i%_aWndId
If wndId
Window_set(wndId, "AlwaysOnTop", "On")
View_arrange(m, i) View_arrange(m, i)
DetectHiddenWindows, Off DetectHiddenWindows, Off
StringTrimRight, wndIds, View_#%m%_#%i%_wndIds, 1 StringTrimRight, wndIds, View_#%m%_#%i%_wndIds, 1
@ -86,6 +89,7 @@ Monitor_activateView(i, d = 0) {
{ {
Window_show(A_LoopField) Window_show(A_LoopField)
} }
Window_set(wndId, "AlwaysOnTop", "Off")
SetWinDelay, 10 SetWinDelay, 10
Manager_hideShow := False Manager_hideShow := False