mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
keyboard: set keyboard layout on reconfigure
If keyboard-layout-per-toplevel-window is used, reset the group (index) for each window on --reconfigure whenever the keymap has changed. Refactor to use a common configure function for reconfigure and keyboard-group creation. Co-authored-by: @johanmalm Fixes #1407
This commit is contained in:
parent
dfb6664906
commit
8c9be2f0d1
5 changed files with 67 additions and 15 deletions
|
|
@ -7,12 +7,12 @@ void
|
|||
input_handlers_init(struct seat *seat)
|
||||
{
|
||||
cursor_init(seat);
|
||||
keyboard_init(seat);
|
||||
keyboard_group_init(seat);
|
||||
}
|
||||
|
||||
void
|
||||
input_handlers_finish(struct seat *seat)
|
||||
{
|
||||
cursor_finish(seat);
|
||||
keyboard_finish(seat);
|
||||
keyboard_group_finish(seat);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue