led: Notify on color change
Fixes using color cycle hotkey. Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
parent
99a2a5305c
commit
341bcde2d2
|
|
@ -333,4 +333,6 @@ static void kb_wmi_color(void) {
|
||||||
for (region = 0; region < sizeof(kb_led_regions)/sizeof(union kb_led_color); region++) {
|
for (region = 0; region < sizeof(kb_led_regions)/sizeof(union kb_led_color); region++) {
|
||||||
kb_led_color_set(region, kb_led_colors[kb_led_colors_i]);
|
kb_led_color_set(region, kb_led_colors[kb_led_colors_i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
led_classdev_notify_brightness_hw_changed(&kb_led, kb_led_brightness);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue