Skip to content

libinput-seat: update leds when a new device is added

Samu Nuutamo requested to merge carbn/weston:keyboard-led-state into main

Fix an issue where the keyboard leds will go out of sync when a new keyboard is connected.

The issue can be easily reproduced by connecting two keyboards, enabling caps lock, and reconnecting one of the keyboards. Without the patch the leds on both keyboards will turn off while the actual caps lock state will stay enabled.

Edited by Samu Nuutamo

Merge request reports