Close bug #57.

* Also accept XK_KP_Enter
This commit is contained in:
QC 2014-07-20 17:10:10 +02:00
parent 0f279b2995
commit 57f28bbb3b
2 changed files with 2 additions and 2 deletions

View File

@ -403,7 +403,7 @@ int textbox_keypress ( textbox *tb, XEvent *ev )
textbox_cursor_bkspc ( tb );
return 1;
}
else if ( key == XK_Return ) {
else if ( key == XK_Return || key == XK_KP_Enter ) {
return -1;
}
else if ( !iscntrl ( *pad ) ) {