[metacity] all-keybindings.h: move switch-applications to correct place
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] all-keybindings.h: move switch-applications to correct place
- Date: Wed, 7 Jan 2015 21:16:50 +0000 (UTC)
commit 41f45f0057b23dd3420b9619aa7548666d583a58
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Jan 7 23:13:04 2015 +0200
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.
src/include/all-keybindings.h | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/src/include/all-keybindings.h b/src/include/all-keybindings.h
index 3edbbfd..0ff0f30 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]