mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
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: {
|
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: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user