diff --git a/bugn.exe b/bugn.exe index 579b10d..777895c 100644 Binary files a/bugn.exe and b/bugn.exe differ diff --git a/src/Manager.ahk b/src/Manager.ahk index fd7d8ce..bd3544a 100644 --- a/src/Manager.ahk +++ b/src/Manager.ahk @@ -450,10 +450,21 @@ Manager_moveWindow() { } Manager_onDisplayChange(a, wParam, uMsg, lParam) { + Global + Debug_logMessage("DEBUG[1] Manager_onDisplayChange( a: " . a . ", uMsg: " . uMsg . ", wParam: " . wParam . ", lParam: " . lParam . " )", 1) - MsgBox, 0x4, , Would you like to reset the monitor configuration? + MsgBox, 291, , % "Would you like to reset the monitor configuration?`n'No' will only rearrange all active views.`n'Cancel' will result in no change." IfMsgBox Yes Manager_resetMonitorConfiguration() + Else IfMsgBox No + { + Loop, % Manager_monitorCount { + View_arrange(A_Index, Monitor_#%A_Index%_aView_#1) + Bar_updateView(A_Index, Monitor_#%A_Index%_aView_#1) + } + Bar_updateStatus() + Bar_updateTitle() + } } /*