led: Notify on color change

Fixes using color cycle hotkey.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford 2024-08-15 12:26:49 -06:00 committed by Jeremy Soller
parent 99a2a5305c
commit 341bcde2d2
1 changed files with 2 additions and 0 deletions

View File

@ -333,4 +333,6 @@ static void kb_wmi_color(void) {
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]);
}
led_classdev_notify_brightness_hw_changed(&kb_led, kb_led_brightness);
}