mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-04-21 00:40:43 +02:00
Fix inverted LEDs
Turns out it's probably better to post the new state rather than the old. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
e9e92d2ad7
commit
bbf63bf92c
1 changed files with 1 additions and 1 deletions
|
|
@ -1793,7 +1793,7 @@ update_modifier_state(struct weston_seat *seat, uint32_t key, uint32_t state)
|
|||
seat->xkb_info.scroll_led))
|
||||
leds |= LED_SCROLL_LOCK;
|
||||
if (leds != seat->xkb_state.leds && seat->led_update)
|
||||
seat->led_update(seat, seat->xkb_state.leds);
|
||||
seat->led_update(seat, leds);
|
||||
seat->xkb_state.leds = leds;
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue