diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-03-25 22:17:05 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-03-25 22:18:37 -0400 |
| commit | e7d5ef84180ea9dc51427ba5f3524f67b6506a67 (patch) | |
| tree | 29c7b2977eeb41d115e68cc6e9f03b636bb7204e /openbox/actions/directionalwindows.c | |
| parent | 11bb31d3bc712aa31d73065383d32f1510393fe2 (diff) | |
make keypad enter do the same thing as return
Diffstat (limited to 'openbox/actions/directionalwindows.c')
| -rw-r--r-- | openbox/actions/directionalwindows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/actions/directionalwindows.c b/openbox/actions/directionalwindows.c index d67c3ef4..602e7edc 100644 --- a/openbox/actions/directionalwindows.c +++ b/openbox/actions/directionalwindows.c @@ -278,7 +278,7 @@ static gboolean i_input_func(guint initial_state, } /* There were no modifiers and they pressed enter */ - else if (sym == XK_Return && !initial_state) { + else if ((sym == XK_Return || sym == XK_KP_Enter) && !initial_state) { end_cycle(FALSE, e->xkey.state, options); return FALSE; } |
