Implement river-xkb-config-v1
This commit adds support for the river-xkb-config-v1 protocol. There's a new keyboard_layout block in config that can take options from xkeyboard-config(7).
This commit is contained in:
parent
799963ae42
commit
a1bd356943
12 changed files with 714 additions and 6 deletions
|
|
@ -134,6 +134,11 @@ fn initialize(wm: *WindowManager) void {
|
|||
}
|
||||
binding.enable();
|
||||
}
|
||||
|
||||
// Apply keyboard layout from config
|
||||
if (context.xkb_config) |xkb_config| {
|
||||
xkb_config.applyKeyboardLayout();
|
||||
}
|
||||
}
|
||||
|
||||
fn manage(wm: *WindowManager) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue