summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-01-07 23:13:04 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-01-07 23:13:04 +0200
commit41f45f0057b23dd3420b9619aa7548666d583a58 (patch)
treee1049f34a34606f00de8cf4043dc2d67cd4bfa77
parentbad6243723d82f13738cd3e929cfcc4e463894da (diff)
downloadmetacity-41f45f0057b23dd3420b9619aa7548666d583a58.tar.gz
all-keybindings.h: move switch-applications to correct place
Bindings should be added in correct order and should match MetaKeyBindingAction enums order in prefs.h. Otherwise meta_prefs_get_keybinding_action function will return incorrect action.
-rw-r--r--src/include/all-keybindings.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/include/all-keybindings.h b/src/include/all-keybindings.h
index 3edbbfdf..0ff0f30f 100644
--- a/src/include/all-keybindings.h
+++ b/src/include/all-keybindings.h
@@ -121,18 +121,16 @@ keybind (switch-to-workspace-down, handle_switch_to_workspace,
* same function checking a bit in the parameter for difference.
*/
+keybind (switch-applications, handle_switch, META_TAB_LIST_NORMAL,
+ BINDING_REVERSES)
+keybind (switch-applications-backward, handle_switch, META_TAB_LIST_NORMAL,
+ REVERSES_AND_REVERSED)
keybind (switch-group, handle_switch, META_TAB_LIST_GROUP, BINDING_REVERSES)
keybind (switch-group-backward, handle_switch, META_TAB_LIST_GROUP,
REVERSES_AND_REVERSED)
keybind (switch-windows, handle_switch, META_TAB_LIST_NORMAL, BINDING_REVERSES)
keybind (switch-windows-backward, handle_switch, META_TAB_LIST_NORMAL,
REVERSES_AND_REVERSED)
-/* We do not support switching applications, so we map these to switching
- * windows */
-keybind (switch-applications, handle_switch, META_TAB_LIST_NORMAL,
- BINDING_REVERSES)
-keybind (switch-applications-backward, handle_switch, META_TAB_LIST_NORMAL,
- REVERSES_AND_REVERSED)
keybind (switch-panels, handle_switch, META_TAB_LIST_DOCKS, BINDING_REVERSES)
keybind (switch-panels-backward, handle_switch, META_TAB_LIST_DOCKS,
REVERSES_AND_REVERSED)