summaryrefslogtreecommitdiff
path: root/openbox/actions/desktop.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/actions/desktop.c')
-rw-r--r--openbox/actions/desktop.c2
1 files changed, 1 insertions, 1 deletions
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 */