[PATCH weston 1/3] evdev: turn off all the leds at startup
Giulio Camuffo
giuliocamuffo at gmail.com
Sat Dec 14 10:05:38 PST 2013
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
More information about the wayland-devel
mailing list