mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:47:44 +00:00
WindowManager: Basic support for system keymap switching
This commit is contained in:
parent
181d1e2dd6
commit
68a01f0e27
6 changed files with 150 additions and 3 deletions
|
@ -19,6 +19,7 @@
|
|||
#include <LibGfx/Rect.h>
|
||||
#include <WindowServer/Cursor.h>
|
||||
#include <WindowServer/Event.h>
|
||||
#include <WindowServer/KeymapSwitcher.h>
|
||||
#include <WindowServer/MenuManager.h>
|
||||
#include <WindowServer/ScreenLayout.h>
|
||||
#include <WindowServer/WMClientConnection.h>
|
||||
|
@ -433,6 +434,7 @@ private:
|
|||
u8 m_keyboard_modifiers { 0 };
|
||||
|
||||
NonnullRefPtr<WindowSwitcher> m_switcher;
|
||||
NonnullRefPtr<KeymapSwitcher> m_keymap_switcher;
|
||||
|
||||
WeakPtr<Button> m_cursor_tracking_button;
|
||||
WeakPtr<Button> m_hovered_button;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue