From bd001810334f95bbd3c2bc370239e3dff2d89d46 Mon Sep 17 00:00:00 2001 From: joten Date: Fri, 31 Oct 2014 16:10:33 +0100 Subject: [PATCH] Fixed bug regarding activating a monitor ... ... by clicking on the desktop --- src/Manager.ahk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Manager.ahk b/src/Manager.ahk index 948620c..0b27b71 100644 --- a/src/Manager.ahk +++ b/src/Manager.ahk @@ -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)