diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-06-04 11:40:48 +0100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-06-04 11:03:02 -0400 |
commit | bbf63bf92c3d0003e883bfd385feb24788ff38b6 (patch) | |
tree | 8f73f7a5acd06ddcf3a5bb1b2061e9cd7715c797 | |
parent | e9e92d2ad79da20060c4815d5257e9d7fb887bcf (diff) |
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>
-rw-r--r-- | src/compositor.c | 2 |
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; |