Disable window cycling if manually switching to window
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
|
||||
|
||||
Class Main_Class extends ThumbWindow {
|
||||
Class Main_Class extends ThumbWindow {
|
||||
Static WM_DESTROY := 0x02,
|
||||
WM_SIZE := 0x05,
|
||||
WM_NCCALCSIZE := 0x83,
|
||||
@@ -555,7 +553,7 @@ Class Main_Class extends ThumbWindow {
|
||||
Index := 1
|
||||
}
|
||||
}
|
||||
This.ActivateEVEWindow(,,This.CleanTitle(Arr[Index]))
|
||||
This.ActivateEVEWindow(,,This.CleanTitle(Arr[Index]), true)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -574,7 +572,7 @@ Class Main_Class extends ThumbWindow {
|
||||
Index := length
|
||||
}
|
||||
}
|
||||
This.ActivateEVEWindow(,,This.CleanTitle(Arr[Index]))
|
||||
This.ActivateEVEWindow(,,This.CleanTitle(Arr[Index]), true)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -769,7 +767,15 @@ Class Main_Class extends ThumbWindow {
|
||||
This.DestroyThumbnailsToggle := 1
|
||||
}
|
||||
|
||||
ActivateEVEWindow(hwnd?,ThisHotkey?, title?) {
|
||||
ActivateEVEWindow(hwnd?,ThisHotkey?, title?, fromAutoForward := false) {
|
||||
; Disable all auto-forward groups (emergency shutoff) - but not when called from auto-forward itself
|
||||
if (!fromAutoForward) {
|
||||
for groupIdx in This.AutoForwardEnabled {
|
||||
This.AutoForwardEnabled[groupIdx] := false
|
||||
This.AutoForwardVisited[groupIdx] := []
|
||||
}
|
||||
}
|
||||
|
||||
; If the user clicks the Thumbnail then hwnd stores the Thumbnail Hwnd. Here the Hwnd gets changed to the contiguous EVE window hwnd
|
||||
if (IsSet(hwnd) && This.ThumbHwnd_EvEHwnd.Has(hwnd)) {
|
||||
hwnd := WinExist(This.ThumbHwnd_EvEHwnd[hwnd])
|
||||
@@ -1010,4 +1016,4 @@ Class Main_Class extends ThumbWindow {
|
||||
FileDelete("EVE-X-Preview.json")
|
||||
FileAppend(JSON.Dump(This._JSON, , " "), "EVE-X-Preview.json")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user