diff --git a/data/org.gnome.mutter.wayland.gschema.xml.in b/data/org.gnome.mutter.wayland.gschema.xml.in index 4bb5c1dfd..d7c9ed4a0 100644 --- a/data/org.gnome.mutter.wayland.gschema.xml.in +++ b/data/org.gnome.mutter.wayland.gschema.xml.in @@ -29,5 +29,25 @@ F7']]]> <_summary>Switch to VT 7 + + F8']]]> + <_summary>Switch to VT 8 + + + F9']]]> + <_summary>Switch to VT 9 + + + F10']]]> + <_summary>Switch to VT 10 + + + F11']]]> + <_summary>Switch to VT 11 + + + F12']]]> + <_summary>Switch to VT 12 + diff --git a/src/core/keybindings.c b/src/core/keybindings.c index 6683fc7af..981a012a1 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -3636,6 +3636,41 @@ init_builtin_key_bindings (MetaDisplay *display) META_KEY_BINDING_NONE, META_KEYBINDING_ACTION_NONE, handle_switch_vt, 7); + + add_builtin_keybinding (display, + "switch-to-session-8", + mutter_wayland_keybindings, + META_KEY_BINDING_NONE, + META_KEYBINDING_ACTION_NONE, + handle_switch_vt, 8); + + add_builtin_keybinding (display, + "switch-to-session-9", + mutter_wayland_keybindings, + META_KEY_BINDING_NONE, + META_KEYBINDING_ACTION_NONE, + handle_switch_vt, 9); + + add_builtin_keybinding (display, + "switch-to-session-10", + mutter_wayland_keybindings, + META_KEY_BINDING_NONE, + META_KEYBINDING_ACTION_NONE, + handle_switch_vt, 10); + + add_builtin_keybinding (display, + "switch-to-session-11", + mutter_wayland_keybindings, + META_KEY_BINDING_NONE, + META_KEYBINDING_ACTION_NONE, + handle_switch_vt, 11); + + add_builtin_keybinding (display, + "switch-to-session-12", + mutter_wayland_keybindings, + META_KEY_BINDING_NONE, + META_KEYBINDING_ACTION_NONE, + handle_switch_vt, 12); } #endif /* HAVE_NATIVE_BACKEND */