Merge branch 'fixkeymapdisplay' into 'main'

Display the first specified XKBLAYOUT as the active one, instead of the last

See merge request plymouth/plymouth!369
This commit is contained in:
Hans de Goede 2025-12-06 12:56:11 +01:00
commit c5164794de

View file

@ -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
*/
return xkb_keymap_layout_get_name (input_device->keymap, num_indices - 1);
return xkb_keymap_layout_get_name (input_device->keymap, 0);
}
int