mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-22 15:44:45 +00:00
WindowServer+Keymap+LibGUI: Add widget to display current keymap
This commit is contained in:
committed by
Andreas Kling
parent
68a01f0e27
commit
b9c558f6c6
@@ -70,4 +70,10 @@ void WindowManagerServerConnection::workspace_changed(i32 wm_id, u32 row, u32 co
|
||||
Core::EventLoop::current().post_event(*window, make<WMWorkspaceChangedEvent>(wm_id, row, column));
|
||||
}
|
||||
|
||||
void WindowManagerServerConnection::keymap_changed(i32 wm_id, String const& keymap)
|
||||
{
|
||||
if (auto* window = Window::from_window_id(wm_id))
|
||||
Core::EventLoop::current().post_event(*window, make<WMKeymapChangedEvent>(wm_id, keymap));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user