summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2018-03-07 13:37:15 -0500
committerVictor Kareh <[email protected]>2018-03-08 11:51:29 -0500
commitdc6ea05ec724fa8f7e681584d0c0596b236aeed9 (patch)
tree88797fa02ede08a2b1ac85b5e7fcb844fc50c509 /src/core
parent79f998c1583437f11f4aea3f67075cd520311216 (diff)
downloadmarco-dc6ea05ec724fa8f7e681584d0c0596b236aeed9.tar.bz2
marco-dc6ea05ec724fa8f7e681584d0c0596b236aeed9.tar.xz
Fix mismatched enums in keybinding detection for switch-panels and switch-panels-backward
Diffstat (limited to 'src/core')
-rw-r--r--src/core/keybindings.c4
1 files changed, 4 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;