From 2645077620a7ad353b268261ad03ab89cff7d46b Mon Sep 17 00:00:00 2001 From: imthenachoman Date: Thu, 28 Sep 2023 14:42:19 -0400 Subject: [PATCH] added progman to desktop window class check --- ExquisiteW.ahk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ExquisiteW.ahk b/ExquisiteW.ahk index 559662b..a5396fb 100644 --- a/ExquisiteW.ahk +++ b/ExquisiteW.ahk @@ -343,7 +343,11 @@ ZoneButtonClick(A_GuiEvent, Info*) GetTargetWindowToMoveAndResizeInfo(&mousePositionLeft, &mousePositionTop, &windowUnderMouseHandleID, &monitorDetails) { ; https://www.autohotkey.com/boards/viewtopic.php?p=540587#p540587 - static windowsToAvoid := 'WorkerW Shell_TrayWnd Shell_SecondaryTrayWnd' + ; Progman = Desktop + ; WorkerW = Explorer Thread. WorkerW comes to the foreground when you press Win + D (minimize all windows) + ; Shell_TrayWnd = TaskBar + ; Shell_SecondaryTrayWnd = 2nd TaskBar + static windowsToAvoid := 'WorkerW Shell_TrayWnd Shell_SecondaryTrayWnd Progman' ; we want mouse position based on screen, so temporarily set the current coordinate mode Local CMM := A_CoordModeMouse