diff options
author | Ran Benita <ran234@gmail.com> | 2013-03-04 02:12:00 +0200 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2013-03-18 22:20:04 +0000 |
commit | cd6a71fc63577004ebc8a0e43a6cac260b8ff60d (patch) | |
tree | 081cd347688f8289e8a438c9225cbf2ca32142de | |
parent | 71eb033eefe2f0f2a2d3fc7c54ebd5f0d4c2d3f5 (diff) |
state: small style fix
Signed-off-by: Ran Benita <ran234@gmail.com>
-rw-r--r-- | src/state.c | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/src/state.c b/src/state.c index 30538b8..79a6794 100644 --- a/src/state.c +++ b/src/state.c @@ -658,20 +658,22 @@ static void xkb_state_update_derived(struct xkb_state *state) { state->components.mods = (state->components.base_mods | - state->components.latched_mods | - state->components.locked_mods); + state->components.latched_mods | + state->components.locked_mods); /* TODO: Use groups_wrap control instead of always RANGE_WRAP. */ - state->components.locked_group = wrap_group_into_range(state->components.locked_group, - state->keymap->num_groups, - RANGE_WRAP, 0); + state->components.locked_group = + wrap_group_into_range(state->components.locked_group, + state->keymap->num_groups, + RANGE_WRAP, 0); - state->components.group = wrap_group_into_range(state->components.base_group + - state->components.latched_group + - state->components.locked_group, - state->keymap->num_groups, - RANGE_WRAP, 0); + state->components.group = + wrap_group_into_range(state->components.base_group + + state->components.latched_group + + state->components.locked_group, + state->keymap->num_groups, + RANGE_WRAP, 0); xkb_state_led_update_all(state); } @@ -1105,7 +1107,7 @@ key_get_consumed(struct xkb_state *state, const struct xkb_key *key) * modifiers, e.g. when implementing hot keys or accelerators. * * See also, for example: - * - XkbTranslateKeyCode(3), mod_rtrn retrun value, from libX11. + * - XkbTranslateKeyCode(3), mod_rtrn return value, from libX11. * - gdk_keymap_translate_keyboard_state, consumed_modifiers return value, * from gtk+. */ |