From e7d5ef84180ea9dc51427ba5f3524f67b6506a67 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 25 Mar 2010 22:17:05 -0400 Subject: make keypad enter do the same thing as return --- openbox/actions/cyclewindows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/actions/cyclewindows.c') 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; -- cgit v1.2.3