diff --git a/Core/AppWindow.cs b/Core/AppWindow.cs index 1b94b71b..27bf6ae6 100644 --- a/Core/AppWindow.cs +++ b/Core/AppWindow.cs @@ -110,7 +110,6 @@ public bool IsAltTabWindow() if (IsAppWindow()) return true; if (IsToolWindow()) return false; if (IsNoActivate()) return false; - if (!IsLastActiveVisiblePopup()) return false; if (!IsOwnerOrOwnerNotVisible()) return false; return true; @@ -137,12 +136,6 @@ private bool IsNoActivate() return (ExtendedStyle & WindowExStyleFlags.NOACTIVATE) == WindowExStyleFlags.NOACTIVATE; } - private bool IsLastActiveVisiblePopup() - { - var lastActiveVisiblePopup = GetLastActiveVisiblePopup(); - return new AppWindow(lastActiveVisiblePopup).IsToolWindow() || lastActiveVisiblePopup == HWnd; - } - private IntPtr GetLastActiveVisiblePopup() { // Which windows appear in the Alt+Tab list? -Raymond Chen