summaryrefslogtreecommitdiff
path: root/src/compositor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor.c')
-rw-r--r--src/compositor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor.c b/src/compositor.c
index 1383966..b904861 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -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;