the internal state in xkbcommon is off for all the three leds, so
make them be in sync.
---
Another solution could be to make it inherit the state of them, but I
don't think it's worthwile the work needed.
src/evdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/evdev.c b/src/evdev.c
index ec18d99..df2d139 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -582,6 +582,7 @@ evdev_configure_device(struct evdev_device *device)
device->seat_caps |= EVDEV_SEAT_KEYBOARD;
weston_log("input device %s, %s is a keyboard\n",
device->devname, device->devnode);
+ evdev_led_update(device, 0);
}
if ((device->caps & EVDEV_TOUCH)) {
weston_seat_init_touch(device->seat);
--
1.8.5.1
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel