mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Fix "Window" actions not being applied to OBS windows
This commit is contained in:
parent
3ab2ea9e66
commit
cc4a3560d8
|
|
@ -181,12 +181,6 @@ static bool windowIsValid(HWND window)
|
|||
return false;
|
||||
}
|
||||
|
||||
DWORD id;
|
||||
GetWindowThreadProcessId(window, &id);
|
||||
if (id == GetCurrentProcessId()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Only accept for top level windows and not controls within them
|
||||
if (window != GetAncestor(window, GA_ROOT)) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user