mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Kernel: Don't forward hijacked keypresses in keyboard driver
This commit is contained in:
parent
67a4256a98
commit
e4826276d1
Notes:
sideshowbarker
2024-07-19 12:43:00 +09:00
Author: https://github.com/deoxxa
Commit: e4826276d1
Pull-request: https://github.com/SerenityOS/serenity/pull/447
1 changed files with 3 additions and 1 deletions
|
@ -289,10 +289,12 @@ void KeyboardDevice::handle_irq()
|
|||
VirtualConsole::switch_to(map[ch] - '0' - 1);
|
||||
break;
|
||||
default:
|
||||
key_state_changed(ch, pressed);
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
key_state_changed(ch, pressed);
|
||||
}
|
||||
key_state_changed(ch, pressed);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue