diff options
author | Victor Kareh <[email protected]> | 2018-03-07 13:37:15 -0500 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2018-03-08 11:51:29 -0500 |
commit | dc6ea05ec724fa8f7e681584d0c0596b236aeed9 (patch) | |
tree | 88797fa02ede08a2b1ac85b5e7fcb844fc50c509 /src | |
parent | 79f998c1583437f11f4aea3f67075cd520311216 (diff) | |
download | marco-dc6ea05ec724fa8f7e681584d0c0596b236aeed9.tar.bz2 marco-dc6ea05ec724fa8f7e681584d0c0596b236aeed9.tar.xz |
Fix mismatched enums in keybinding detection for switch-panels and switch-panels-backward
Diffstat (limited to 'src')
-rw-r--r-- | src/core/keybindings.c | 4 | ||||
-rw-r--r-- | src/include/prefs.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c index 5b56fb2e..5eee03ee 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -2144,8 +2144,10 @@ process_tab_grab (MetaDisplay *display, break; case META_KEYBINDING_ACTION_SWITCH_PANELS: case META_KEYBINDING_ACTION_SWITCH_WINDOWS: + case META_KEYBINDING_ACTION_SWITCH_WINDOWS_ALL: case META_KEYBINDING_ACTION_SWITCH_PANELS_BACKWARD: case META_KEYBINDING_ACTION_SWITCH_WINDOWS_BACKWARD: + case META_KEYBINDING_ACTION_SWITCH_WINDOWS_ALL_BACKWARD: /* SWITCH_* are traditionally Tab-based actions, * and should cancel traditionally Escape-based ones. */ @@ -2217,11 +2219,13 @@ process_tab_grab (MetaDisplay *display, break; case META_KEYBINDING_ACTION_SWITCH_PANELS: case META_KEYBINDING_ACTION_SWITCH_WINDOWS: + case META_KEYBINDING_ACTION_SWITCH_WINDOWS_ALL: case META_KEYBINDING_ACTION_SWITCH_GROUP: key_used = TRUE; break; case META_KEYBINDING_ACTION_SWITCH_PANELS_BACKWARD: case META_KEYBINDING_ACTION_SWITCH_WINDOWS_BACKWARD: + case META_KEYBINDING_ACTION_SWITCH_WINDOWS_ALL_BACKWARD: case META_KEYBINDING_ACTION_SWITCH_GROUP_BACKWARD: key_used = TRUE; backward = TRUE; diff --git a/src/include/prefs.h b/src/include/prefs.h index 712d0651..29db2a10 100644 --- a/src/include/prefs.h +++ b/src/include/prefs.h @@ -179,6 +179,8 @@ typedef enum _MetaKeyBindingAction META_KEYBINDING_ACTION_SWITCH_GROUP_BACKWARD, META_KEYBINDING_ACTION_SWITCH_WINDOWS, META_KEYBINDING_ACTION_SWITCH_WINDOWS_BACKWARD, + META_KEYBINDING_ACTION_SWITCH_WINDOWS_ALL, + META_KEYBINDING_ACTION_SWITCH_WINDOWS_ALL_BACKWARD, META_KEYBINDING_ACTION_SWITCH_PANELS, META_KEYBINDING_ACTION_SWITCH_PANELS_BACKWARD, META_KEYBINDING_ACTION_CYCLE_GROUP, |