mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
Keymap+WindowServer: Add context menu to keymap applet
Adding a context menu which lists configured keymaps and allows setting the active keymap
This commit is contained in:
parent
db11cfa2c5
commit
9906f41e01
11 changed files with 126 additions and 27 deletions
|
@ -183,4 +183,9 @@ void WMConnectionFromClient::set_window_taskbar_rect(i32 client_id, i32 window_i
|
|||
window.set_taskbar_rect(rect);
|
||||
}
|
||||
|
||||
void WMConnectionFromClient::set_keymap(String const& keymap)
|
||||
{
|
||||
WindowManager::the().keymap_switcher()->set_keymap(keymap);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue