From 3d9bcd7d2795bf4a086f490a573e11cfc21bbcee Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Fri, 20 Jan 2023 14:04:55 +0100 Subject: [PATCH] Fix AltGR getting stuck on Windows right alt-tab Fixes #28511. (cherry picked from commit e01452adb0ac51bbbb0304773b1efd28ca1a3f2d) --- platform/windows/os_windows.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index d1ddf452d1a..e3cf83de1f4 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -321,6 +321,7 @@ LRESULT OS_Windows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) alt_mem = false; control_mem = false; shift_mem = false; + gr_mem = false; } else { // WM_INACTIVE input->release_pressed_events(); main_loop->notification(MainLoop::NOTIFICATION_WM_FOCUS_OUT);