From cb1566d440a9327bd7b5164eb9ac86bee7474998 Mon Sep 17 00:00:00 2001 From: Joshua Fuhs Date: Fri, 22 Jun 2012 23:35:32 -0400 Subject: [PATCH] These changes prevent the user from viewing the resizing of windows from other screens. It may make the interface appear a bit more sluggish, though, since all of the rearranging must happen in the background. --- src/Monitor.ahk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Monitor.ahk b/src/Monitor.ahk index a0da17a..5a9e422 100644 --- a/src/Monitor.ahk +++ b/src/Monitor.ahk @@ -78,14 +78,15 @@ Monitor_activateView(v) { If Not (Manager_#%A_LoopField%_tags & (1 << v - 1)) WinHide, ahk_id %A_LoopField% StringTrimRight, wndIds, View_#%m%_#%v%_wndIds, 1 + DetectHiddenWindows, On + View_arrange(m, v) + DetectHiddenWindows, Off Loop, PARSE, wndIds, `; WinShow, ahk_id %A_LoopField% Manager_hideShow := False Bar_updateView(m, aView) Bar_updateView(m, v) - - View_arrange(m, v) } wndId := View_#%Manager_aMonitor%_#%v%_aWndId