mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-08 10:06:28 -05:00
backend/libinput: Remove redundant LED reset during keyboard initialization
Not all users want to initially turn off all keyboard LED indicators on the device. For example, some designs hope that the Num Lock light of the machine will be on after restart. Then libinput_device_led_update is redundant logic.
This commit is contained in:
parent
86976870bd
commit
1aeaa24e90
1 changed files with 0 additions and 2 deletions
|
|
@ -26,8 +26,6 @@ void init_device_keyboard(struct wlr_libinput_input_device *dev) {
|
|||
const char *name = get_libinput_device_name(dev->handle);
|
||||
struct wlr_keyboard *wlr_kb = &dev->keyboard;
|
||||
wlr_keyboard_init(wlr_kb, &libinput_keyboard_impl, name);
|
||||
|
||||
libinput_device_led_update(dev->handle, 0);
|
||||
}
|
||||
|
||||
void handle_keyboard_key(struct libinput_event *event,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue