Must hide before show because WinShow does not bring the new window to the top. This results in some odd looking view switches.
This commit is contained in:
parent
0aa4b31bae
commit
10ab86187d
1 changed files with 4 additions and 4 deletions
|
@ -73,16 +73,16 @@ Monitor_activateView(v) {
|
||||||
Monitor_#%m%_aView_#1 := v
|
Monitor_#%m%_aView_#1 := v
|
||||||
|
|
||||||
Manager_hideShow := True
|
Manager_hideShow := True
|
||||||
|
StringTrimRight, wndIds, View_#%m%_#%aView%_wndIds, 1
|
||||||
|
Loop, PARSE, wndIds, `;
|
||||||
|
If Not (Manager_#%A_LoopField%_tags & (1 << v - 1))
|
||||||
|
WinHide, ahk_id %A_LoopField%
|
||||||
DetectHiddenWindows, On
|
DetectHiddenWindows, On
|
||||||
View_arrange(m, v)
|
View_arrange(m, v)
|
||||||
DetectHiddenWindows, Off
|
DetectHiddenWindows, Off
|
||||||
StringTrimRight, wndIds, View_#%m%_#%v%_wndIds, 1
|
StringTrimRight, wndIds, View_#%m%_#%v%_wndIds, 1
|
||||||
Loop, PARSE, wndIds, `;
|
Loop, PARSE, wndIds, `;
|
||||||
WinShow, ahk_id %A_LoopField%
|
WinShow, ahk_id %A_LoopField%
|
||||||
StringTrimRight, wndIds, View_#%m%_#%aView%_wndIds, 1
|
|
||||||
Loop, PARSE, wndIds, `;
|
|
||||||
If Not (Manager_#%A_LoopField%_tags & (1 << v - 1))
|
|
||||||
WinHide, ahk_id %A_LoopField%
|
|
||||||
|
|
||||||
Manager_hideShow := False
|
Manager_hideShow := False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue