Explorar o código

Fix AltGR getting stuck on Windows right alt-tab

Fixes #28511.

(cherry picked from commit e01452adb0ac51bbbb0304773b1efd28ca1a3f2d)
Juan Linietsky %!s(int64=2) %!d(string=hai) anos
pai
achega
16757a80a8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      platform/windows/os_windows.cpp

+ 1 - 0
platform/windows/os_windows.cpp

@@ -356,6 +356,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);