moved the string identifying a hung (ghost) window to the config

The german window title is different from the english one.
This commit is contained in:
joten 2012-10-03 20:21:02 +02:00
parent cd4d2a1b85
commit ed31dec9bf
2 changed files with 3 additions and 2 deletions

View File

@ -64,9 +64,10 @@ Config_init()
Config_layoutAxis_#3 := 2
Config_layoutGapWidth := 0
Config_layoutMFactor := 0.6
Config_ghostWndSubString := " (Not Responding)"
Config_mouseFollowsFocus := True
Config_onActiveHiddenWnds := "view"
Config_newWndPosition := "top"
Config_onActiveHiddenWnds := "view"
Config_shellMsgDelay := 350
Config_syncMonitorViews := 0
Config_viewFollowsTagged := False

View File

@ -829,7 +829,7 @@ Manager_isHung(wndId) {
Manager_findHung( ghostWnd ) {
Local expectedTitle, expectedX, expectedY, expectedW, expectedH, wndTitle, wndX, wndY, wndW, wndH, wndIds
WinGetTitle, expectedTitle, ahk_id %ghostWnd%
StringReplace, expectedTitle, expectedTitle, " (Not Responding)", ""
StringReplace, expectedTitle, expectedTitle, %Config_ghostWndSubString%,
WinGetPos, expectedX, expectedY, expectedW, expectedH, ahk_id %ghostWnd%
SetTitleMatchMode, 2