mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-21 16:55:29 -05:00
Merge branch 'master' into UI
This commit is contained in:
@@ -23,8 +23,7 @@ static bool GetWindowTitle(HWND window, string &title)
|
||||
|
||||
static bool WindowValid(HWND window)
|
||||
{
|
||||
LONG_PTR styles, ex_styles;
|
||||
RECT rect;
|
||||
LONG_PTR styles;
|
||||
DWORD id;
|
||||
|
||||
if (!IsWindowVisible(window))
|
||||
@@ -33,7 +32,6 @@ static bool WindowValid(HWND window)
|
||||
if (id == GetCurrentProcessId())
|
||||
return false;
|
||||
|
||||
GetClientRect(window, &rect);
|
||||
styles = GetWindowLongPtr(window, GWL_STYLE);
|
||||
|
||||
if (styles & WS_CHILD)
|
||||
|
||||
Reference in New Issue
Block a user