mirror of https://github.com/davatorium/rofi.git
parent
0f279b2995
commit
57f28bbb3b
|
@ -85,7 +85,7 @@ SwitcherMode dmenu_switcher_dialog ( char **input )
|
|||
fputs ( *input, stdout );
|
||||
}
|
||||
|
||||
for ( unsigned int i = 0; i < length ; i++ ) {
|
||||
for ( unsigned int i = 0; i < length; i++ ) {
|
||||
free ( list[i] );
|
||||
}
|
||||
|
||||
|
|
|
@ -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 ) ) {
|
||||
|
|
Loading…
Reference in New Issue