Skip to content

Commit 4fec56c

Browse files
committed
keybindings.c: Add support for additional xkb next-group options.
1 parent e67bb70 commit 4fec56c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/core/keybindings.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,14 @@ reload_iso_next_group_combos (MetaKeyBindingManager *keys)
498498
{
499499
keys->iso_next_group_combo[0].mask = Mod1Mask;
500500
}
501+
else if (g_str_equal (iso_next_group_option, "win_space_toggle"))
502+
{
503+
keys->iso_next_group_combo[0].mask = keys->super_mask;
504+
}
505+
else if (g_str_equal (iso_next_group_option, "ctrl_space_toggle"))
506+
{
507+
keys->iso_next_group_combo[0].mask = ControlMask;
508+
}
501509
else if (g_str_equal (iso_next_group_option, "ctrl_shift_toggle") ||
502510
g_str_equal (iso_next_group_option, "lctrl_lshift_toggle") ||
503511
g_str_equal (iso_next_group_option, "rctrl_rshift_toggle"))

0 commit comments

Comments
 (0)