ALT-SPACE hotkey fixed.
This commit is contained in:
parent
69865a54f6
commit
1e4951c4cb
1 changed files with 2 additions and 2 deletions
|
|
@ -2853,8 +2853,8 @@ static void pollKeyboard(AppContextT *ctx) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Alt+Space — open/close system menu
|
// Alt+Space — open/close system menu
|
||||||
// Enhanced INT 16h: Alt+Space returns scancode 0x02, ascii 0x20
|
// Enhanced INT 16h: Alt+Space returns scancode 0x39, ascii 0x20
|
||||||
if (scancode == 0x02 && ascii == 0x20) {
|
if (scancode == 0x39 && ascii == 0x20) {
|
||||||
if (ctx->sysMenu.active) {
|
if (ctx->sysMenu.active) {
|
||||||
closeSysMenu(ctx);
|
closeSysMenu(ctx);
|
||||||
} else if (ctx->stack.focusedIdx >= 0) {
|
} else if (ctx->stack.focusedIdx >= 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue