From 867992cd21baf49a542db1193ac0e01362b05e3f Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Tue, 23 Oct 2012 17:17:18 +0200 Subject: [PATCH] state: fix typo in state component copying Gladly no-one should have been fast enough to hit this. Signed-off-by: Ran Benita --- src/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4