mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:47:35 +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
|
@ -27,6 +27,8 @@ public:
|
|||
|
||||
String get_current_keymap() const;
|
||||
|
||||
void set_keymap(AK::String const&);
|
||||
|
||||
private:
|
||||
void refresh();
|
||||
|
||||
|
@ -34,8 +36,6 @@ private:
|
|||
|
||||
Vector<AK::String> m_keymaps;
|
||||
|
||||
void setkeymap(AK::String const&);
|
||||
|
||||
RefPtr<Core::FileWatcher> m_file_watcher;
|
||||
|
||||
char const* m_keyboard_config = "/etc/Keyboard.ini";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue