projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9e92d2
)
Fix inverted LEDs
author
Daniel Stone
<daniel@fooishbar.org>
Mon, 4 Jun 2012 10:40:48 +0000
(11:40 +0100)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 4 Jun 2012 15:03:02 +0000
(11:03 -0400)
Turns out it's probably better to post the new state rather than the
old.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/compositor.c
patch
|
blob
|
history
diff --git
a/src/compositor.c
b/src/compositor.c
index
1383966
..
b904861
100644
(file)
--- 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;