BWindow: fix Quit shortcut, uppercase the inputted key

Change-Id: Ic6c80fc0cce033bcffcd7f0934a9ecf7f6825c00
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9521
Reviewed-by: X512 X512 <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
John Scipione
2025-07-26 17:37:59 +00:00
committed by waddlesplash
parent 6929e96086
commit 24f4871106
+1 -1
View File
@@ -3632,7 +3632,7 @@ BWindow::_HandleKeyDown(BMessage* event)
if (event->FindString("bytes", &bytes) != B_OK)
return false;
char key = bytes[0];
char key = Shortcut::PrepareKey(bytes[0]);
uint32 modifiers;
if (event->FindInt32("modifiers", (int32*)&modifiers) != B_OK)