From b240a5e819320d7884c4f55b4f5381bed76f509d Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 29 May 2014 12:09:10 -0400 Subject: [PATCH] keybindings: Only add VT keybindings if we're using the native backend --- src/core/keybindings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/keybindings.c b/src/core/keybindings.c index 800fff277..8d101ad9f 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -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",