Fix AltGR getting stuck on Windows right alt-tab

Fixes #28511.

(cherry picked from commit e01452adb0ac51bbbb0304773b1efd28ca1a3f2d)
This commit is contained in:
Juan Linietsky 2023-01-20 14:04:55 +01:00 committed by Relintai
parent 930dccc430
commit 8ff42d39ee

View File

@ -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);