mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Add clearing of passed window list like with other platforms
This commit is contained in:
parent
f0cf5a5c19
commit
3959e41e88
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user