mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-06 03:28:20 +00:00
Might want to use GetForegroundWindow instead for window focus
This commit is contained in:
parent
c63f11f6fd
commit
abbd39fc6e
@ -746,7 +746,7 @@ bool win32_has_focus(void)
|
||||
if (!g_inited)
|
||||
return false;
|
||||
|
||||
return GetFocus() == main_window.hwnd;
|
||||
return GetForegroundWindow() == main_window.hwnd;
|
||||
}
|
||||
|
||||
HWND win32_get_window(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user