From 03cffa36b4c89532873848064ef595e5d0ac9b9c Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Wed, 7 Mar 2018 13:37:15 -0500 Subject: Fix mismatched enums in keybinding detection for switch-panels and switch-panels-backward --- src/core/keybindings.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/keybindings.c') 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; -- cgit v1.2.1