[PATCH 1/2] evdev: turn off all the leds at startup
Giulio Camuffo
giuliocamuffo at gmail.com
Tue Aug 19 11:25:20 PDT 2014
the internal state in xkbcommon is off for all the three leds, so
make them be in sync.
---
src/evdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/evdev.c b/src/evdev.c
index 888dfbd..a46ed87 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -581,6 +581,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 (has_touch && !has_button) {
weston_seat_init_touch(device->seat);
--
2.0.4
More information about the wayland-devel
mailing list