mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2025-12-20 04:30:10 +01:00
Display the first specified XKBLAYOUT as the active one, instead of the last
This fixes https://bugzilla.redhat.com/show_bug.cgi?id=2416197 This corrects the keymap display when users specify multiple keymaps in /etc/vconsole.conf
This commit is contained in:
parent
3718895891
commit
b609687e8d
1 changed files with 1 additions and 1 deletions
|
|
@ -531,7 +531,7 @@ ply_input_device_get_keymap (ply_input_device_t *input_device)
|
||||||
*
|
*
|
||||||
* This string shouldn't be used as a unique indentifier for a keymap
|
* This string shouldn't be used as a unique indentifier for a keymap
|
||||||
*/
|
*/
|
||||||
return xkb_keymap_layout_get_name (input_device->keymap, num_indices - 1);
|
return xkb_keymap_layout_get_name (input_device->keymap, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue