diff --git a/doc/reference/meta-sections.txt b/doc/reference/meta-sections.txt index de6746672..08e8f7c16 100644 --- a/doc/reference/meta-sections.txt +++ b/doc/reference/meta-sections.txt @@ -207,7 +207,6 @@ meta_key_binding_get_modifiers meta_key_binding_get_mask meta_key_binding_is_builtin meta_keybindings_set_custom_handler -meta_keybindings_switch_window meta_screen_ungrab_all_keys meta_screen_grab_all_keys diff --git a/src/core/keybindings.c b/src/core/keybindings.c index a8784f913..868a9820f 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -4129,28 +4129,6 @@ meta_keybindings_set_custom_handler (const gchar *name, return TRUE; } -/** - * meta_keybindings_switch_window: (skip) - * @display: a #MetaDisplay - * @screen: a #MetaScreen - * @event_window: a #MetaWindow - * @event: a #XIDeviceEvent - * @binding: a #MetaKeyBinding - * - */ -void -meta_keybindings_switch_window (MetaDisplay *display, - MetaScreen *screen, - MetaWindow *event_window, - XIDeviceEvent *event, - MetaKeyBinding *binding) -{ - gint backwards = (binding->handler->flags & META_KEY_BINDING_IS_REVERSED) != 0; - - do_choose_window (display, screen, event_window, event, binding, - backwards, FALSE); -} - static void init_builtin_key_bindings (MetaDisplay *display) { diff --git a/src/meta/keybindings.h b/src/meta/keybindings.h index c7707cc2c..b89619512 100644 --- a/src/meta/keybindings.h +++ b/src/meta/keybindings.h @@ -35,13 +35,6 @@ gboolean meta_keybindings_set_custom_handler (const gchar *name, gpointer user_data, GDestroyNotify free_data); -void meta_keybindings_switch_window (MetaDisplay *display, - MetaScreen *screen, - MetaWindow *event_window, - XIDeviceEvent *event, - MetaKeyBinding *binding); - - void meta_screen_ungrab_all_keys (MetaScreen *screen, guint32 timestamp); gboolean meta_screen_grab_all_keys (MetaScreen *screen, guint32 timestamp); #endif