diff options
Diffstat (limited to 'openbox/actions')
| -rw-r--r-- | openbox/actions/cyclewindows.c | 2 | ||||
| -rw-r--r-- | openbox/actions/desktop.c | 2 | ||||
| -rw-r--r-- | openbox/actions/directionalwindows.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/openbox/actions/cyclewindows.c b/openbox/actions/cyclewindows.c index 6d852fdf..6bd96577 100644 --- a/openbox/actions/cyclewindows.c +++ b/openbox/actions/cyclewindows.c @@ -195,7 +195,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) { o->cancel = FALSE; o->state = e->xkey.state; return FALSE; diff --git a/openbox/actions/desktop.c b/openbox/actions/desktop.c index cc0d9653..04b0bdd5 100644 --- a/openbox/actions/desktop.c +++ b/openbox/actions/desktop.c @@ -327,7 +327,7 @@ static gboolean i_input_func(guint initial_state, return FALSE; /* 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) return FALSE; } /* They released the modifiers */ 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; } |
