Fixed bug regarding activating a monitor ...
... by clicking on the desktop
This commit is contained in:
parent
6a65aa4d00
commit
bd00181033
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ Manager_onShellMessage(wParam, lParam) {
|
|||
WinGet, aWndId, ID, A
|
||||
WinGetClass, aWndClass, ahk_id %aWndId%
|
||||
WinGetTitle, aWndTitle, ahk_id %aWndId%
|
||||
If ((wParam = 4 Or wParam = 32772) And lParam = 0 And aWndClass = "Progman" And aWndTitle = "Program Manager")
|
||||
If ((wParam = 4 Or wParam = 32772) And (aWndClass = "WorkerW" And aWndTitle = "" Or lParam = 0 And aWndClass = "Progman" And aWndTitle = "Program Manager"))
|
||||
{
|
||||
MouseGetPos, x, y
|
||||
m := Monitor_get(x, y)
|
||||
|
|
Loading…
Reference in a new issue