[mutter] keybindings: Only add VT keybindings if we're using the	native backend
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [mutter] keybindings: Only add VT keybindings if we're using the	native backend
- Date: Thu, 29 May 2014 16:43:24 +0000 (UTC)
commit b240a5e819320d7884c4f55b4f5381bed76f509d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu May 29 12:09:10 2014 -0400
    keybindings: Only add VT keybindings if we're using the native backend
 src/core/keybindings.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 800fff2..8d101ad 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",
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]