mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
keybindings: Only add VT keybindings if we're using the native backend
This commit is contained in:
parent
fe823b3553
commit
b240a5e819
@ -3475,7 +3475,8 @@ init_builtin_key_bindings (MetaDisplay *display)
|
||||
META_KEYBINDING_ACTION_SET_SPEW_MARK,
|
||||
handle_set_spew_mark, 0);
|
||||
|
||||
if (meta_is_wayland_compositor ())
|
||||
MetaBackend *backend = meta_get_backend ();
|
||||
if (META_IS_BACKEND_NATIVE (backend))
|
||||
{
|
||||
add_builtin_keybinding (display,
|
||||
"switch-to-session-1",
|
||||
|
Loading…
Reference in New Issue
Block a user