mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:27:45 +00:00
WindowServer: Fix alt shortcut navigation for non-default keymaps
Some keymaps will bind key presses with the alt modifier to characters other than the unmodified one, in which case you couldn't activate the alt shortcuts in the menu bar before. We now ask the current keymap for the code point that is mapped to the pressed (unmodified) key instead.
This commit is contained in:
parent
e59137d4f6
commit
e32ab161ae
3 changed files with 30 additions and 17 deletions
|
@ -45,5 +45,5 @@ set(GENERATED_SOURCES
|
|||
)
|
||||
|
||||
serenity_bin(WindowServer)
|
||||
target_link_libraries(WindowServer PRIVATE LibCore LibFileSystem LibGfx LibThreading LibIPC LibMain)
|
||||
target_link_libraries(WindowServer PRIVATE LibCore LibFileSystem LibKeyboard LibGfx LibThreading LibIPC LibMain)
|
||||
serenity_install_headers(Services/WindowServer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue