]> git.mdlowis.com Git - proto/labwc.git/commit
keyboard: set keyboard layout on reconfigure
authorSimon Long <simon@raspberrypi.com>
Tue, 16 Jan 2024 12:43:18 +0000 (12:43 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 19 Jan 2024 18:59:14 +0000 (18:59 +0000)
commit8c9be2f0d1b6b9e081f9dbb2dcce7e6682ca14d8
tree49f024889759967fc16d347f6f14a47b19b13dcd
parentdfb6664906a2e01a90aa2208de8d94570e662fe7
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
include/input/keyboard.h
src/input/input.c
src/input/keyboard.c
src/seat.c
src/server.c