Skip to content

Commit

Permalink
Remove alt tab window check #43
Browse files Browse the repository at this point in the history
When this check was activated windows with tool windows
open did not appear in the list.
  • Loading branch information
kvakulo committed Jun 9, 2015
1 parent 08a136b commit 4af6806
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Core/AppWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit 4af6806

Please sign in to comment.