mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 07:26:49 +01:00
Fix alt tab issue on win32
This commit is contained in:
@@ -570,6 +570,8 @@ LRESULT WIN32Window::windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
|
|||||||
}
|
}
|
||||||
case WM_ACTIVATE: {
|
case WM_ACTIVATE: {
|
||||||
m_focused = !(wParam == WA_INACTIVE);
|
m_focused = !(wParam == WA_INACTIVE);
|
||||||
|
if(!m_focused)
|
||||||
|
releaseAllKeys();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case WM_CHAR: {
|
case WM_CHAR: {
|
||||||
|
|||||||
Reference in New Issue
Block a user