allow WS_EX_TOOLWINDOW as valid window to match 'Task Switching'

This commit is contained in:
WarmUpTill
2020-10-22 19:40:21 +02:00
parent 3dd1138f31
commit 161588e43b

View File

@@ -35,10 +35,7 @@ static bool WindowValid(HWND window)
GetClientRect(window, &rect);
styles = GetWindowLongPtr(window, GWL_STYLE);
ex_styles = GetWindowLongPtr(window, GWL_EXSTYLE);
if (ex_styles & WS_EX_TOOLWINDOW)
return false;
if (styles & WS_CHILD)
return false;