mirror of https://github.com/davatorium/rofi.git
More dmenu fixes (shift -enter on custom)
This commit is contained in:
parent
a811011a1d
commit
bd9f4ebf07
|
@ -275,6 +275,12 @@ int dmenu_switcher_dialog ( char **input )
|
||||||
// Custom input
|
// Custom input
|
||||||
else if ( ( mretv & ( MENU_CUSTOM_INPUT ) ) ) {
|
else if ( ( mretv & ( MENU_CUSTOM_INPUT ) ) ) {
|
||||||
dmenu_output_formatted_line ( format, *input, -1, *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;
|
retv = TRUE;
|
||||||
}
|
}
|
||||||
// Quick switch with entry selected.
|
// Quick switch with entry selected.
|
||||||
|
|
Loading…
Reference in New Issue