projects
/
mikachu
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make keypad enter do the same thing as return
[mikachu/openbox.git]
/
openbox
/
actions
/
desktop.c
diff --git
a/openbox/actions/desktop.c
b/openbox/actions/desktop.c
index
cc0d965
..
04b0bdd
100644
(file)
--- 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 */