mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
reindent for sircmpwn style
This commit is contained in:
parent
431da3ed0e
commit
c456e85e2f
1 changed files with 9 additions and 5 deletions
|
|
@ -14,13 +14,17 @@ change_vt(struct server *server, unsigned int vt)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool any_modifiers_pressed(struct wlr_keyboard *keyboard)
|
static bool
|
||||||
|
any_modifiers_pressed(struct wlr_keyboard *keyboard)
|
||||||
{
|
{
|
||||||
for(xkb_mod_index_t i = 0; i < xkb_keymap_num_mods(keyboard->keymap); i++) {
|
xkb_mod_index_t i ;
|
||||||
if(xkb_state_mod_index_is_active
|
for (i = 0; i < xkb_keymap_num_mods(keyboard->keymap); i++) {
|
||||||
(keyboard->xkb_state, i, XKB_STATE_MODS_EFFECTIVE))
|
if (xkb_state_mod_index_is_active
|
||||||
|
(keyboard->xkb_state, i,
|
||||||
|
XKB_STATE_MODS_EFFECTIVE)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue