summaryrefslogtreecommitdiff
path: root/src/core/keybindings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/keybindings.c')
-rw-r--r--src/core/keybindings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index e764a4e7..fe5f0f00 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -2220,9 +2220,9 @@ process_tab_grab (MetaDisplay *display,
}
/* Allow use of arrows while in window switching mode */
- if (event->xkey.keycode == 114)
+ if (event->xkey.keycode == ARROW_RIGHT || event->xkey.keycode == ARROW_RIGHT_PAD)
key_used = TRUE;
- else if (event->xkey.keycode == 113)
+ else if (event->xkey.keycode == ARROW_LEFT || event->xkey.keycode == ARROW_LEFT_PAD)
{
key_used = TRUE;
backward = TRUE;