Skip to content

Commit

Permalink
added progman to desktop window class check
Browse files Browse the repository at this point in the history
  • Loading branch information
imthenachoman committed Sep 28, 2023
1 parent 8bdd910 commit 2645077
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ExquisiteW.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2645077

Please sign in to comment.