summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-10-23 17:17:18 +0200
committerRan Benita <ran234@gmail.com>2012-10-23 17:22:13 +0200
commit867992cd21baf49a542db1193ac0e01362b05e3f (patch)
tree10d78108de1658279ceb1dcc834851b847e494b3
parent6bc9480ad1cdb0bbb5a18e948256cbee2036639e (diff)
state: fix typo in state component copying
Gladly no-one should have been fast enough to hit this. Signed-off-by: Ran Benita <ran234@gmail.com>
-rw-r--r--src/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c
index c8e3147..8624a9c 100644
--- a/src/state.c
+++ b/src/state.c
@@ -755,7 +755,7 @@ xkb_state_update_mask(struct xkb_state *state,
xkb_mod_index_t num_mods;
xkb_mod_index_t idx;
- state->cur = state->prev;
+ state->prev = state->cur;
state->cur.base_mods = 0;
state->cur.latched_mods = 0;