From 29ab28065bda3a2f10d7f33fe36e8956f1a60f69 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Fri, 13 Jul 2012 00:56:56 -0300 Subject: [PATCH] Fix alt tab issue on win32 --- src/framework/platform/win32window.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/framework/platform/win32window.cpp b/src/framework/platform/win32window.cpp index cf1144cb..cd8df5ae 100644 --- a/src/framework/platform/win32window.cpp +++ b/src/framework/platform/win32window.cpp @@ -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: {