mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-13 04:37:14 -05:00
Add clearing of passed window list like with other platforms
This commit is contained in:
@@ -47,6 +47,8 @@ static bool WindowValid(HWND window)
|
||||
|
||||
void GetWindowList(vector<string>& windows)
|
||||
{
|
||||
windows.resize(0);
|
||||
|
||||
HWND window = GetWindow(GetDesktopWindow(), GW_CHILD);
|
||||
|
||||
while (window)
|
||||
|
||||
Reference in New Issue
Block a user