windows: Fix Print Screen key capture during keyboard grab
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled

(cherry picked from commit 5f92aac095)
This commit is contained in:
Cameron Gutman
2026-03-15 15:35:00 -05:00
parent 86c664d695
commit 5ee57a9da1
+3
View File
@@ -497,6 +497,9 @@ WIN_KeyboardHookProc(int nCode, WPARAM wParam, LPARAM lParam)
case VK_RCONTROL:
scanCode = SDL_SCANCODE_RCTRL;
break;
case VK_SNAPSHOT:
scanCode = SDL_SCANCODE_PRINTSCREEN;
break;
// These are required to intercept Alt+Tab and Alt+Esc on Windows 7
case VK_TAB: