1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-03 04:23:42 -05:00

More dmenu fixes (shift -enter on custom)

This commit is contained in:
QC 2015-06-11 21:20:09 +02:00
parent a811011a1d
commit bd9f4ebf07

View file

@ -275,6 +275,12 @@ int dmenu_switcher_dialog ( char **input )
// Custom input
else if ( ( mretv & ( MENU_CUSTOM_INPUT ) ) ) {
dmenu_output_formatted_line ( format, *input, -1, *input );
if ( ( mretv & MENU_SHIFT ) ) {
restart = TRUE;
// Move to next line.
selected_line = MIN ( next_pos, length - 1 );
}
retv = TRUE;
}
// Quick switch with entry selected.