1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-25 03:40:50 +00:00

Might want to use GetForegroundWindow instead for window focus

This commit is contained in:
twinaphex 2016-06-04 17:17:10 +02:00
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)