summaryrefslogtreecommitdiff
path: root/src/core/keybindings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/keybindings.c')
-rw-r--r--src/core/keybindings.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 975e68897..17c5fe75b 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -3573,10 +3573,13 @@ handle_switch_vt (MetaDisplay *display,
MetaKeyBinding *binding,
gpointer dummy)
{
+ MetaContext *context = meta_display_get_context (display);
+ MetaBackend *backend = meta_context_get_backend (context);
gint vt = binding->handler->data;
GError *error = NULL;
- if (!meta_activate_vt (vt, &error))
+ if (!meta_backend_native_activate_vt (META_BACKEND_NATIVE (backend),
+ vt, &error))
{
g_warning ("Failed to switch VT: %s", error->message);
g_error_free (error);