Fix alt tab issue on win32
This commit is contained in:
parent
9bfd2617e9
commit
29ab28065b
|
@ -570,6 +570,8 @@ LRESULT WIN32Window::windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
|
|||
}
|
||||
case WM_ACTIVATE: {
|
||||
m_focused = !(wParam == WA_INACTIVE);
|
||||
if(!m_focused)
|
||||
releaseAllKeys();
|
||||
break;
|
||||
}
|
||||
case WM_CHAR: {
|
||||
|
|
Loading…
Reference in New Issue