changed 'Config_shellMsgDelay' related in 'Manager_onShellMessage'

This commit is contained in:
joten 2012-10-07 14:40:14 +02:00
parent 3480edd566
commit 23b4ef559f

View file

@ -509,17 +509,10 @@ Manager_onShellMessage(wParam, lParam)
If (wParam = 1 Or wParam = 2 Or wParam = 4 Or wParam = 6 Or wParam = 32772) And lParam And Not Manager_hideShow And Not Manager_focus
{
If Not (wParam = 4 Or wParam = 32772)
If Not wndClass And Not (wParam = 2)
If Not wndClass And Not (wParam = 2 Or wParam = 4 Or wParam = 32772)
{
WinGetClass, wndClass, ahk_id %lParam%
If wndClass
{
If (wndClass = "Emacs")
Sleep, % 12 * Config_shellMsgDelay
}
Else
Sleep, %Config_shellMsgDelay%
WinGetClass, wndClass, ahk_id %lParam%
}
isChanged := Manager_sync(wndIds)