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:
parent
a811011a1d
commit
bd9f4ebf07
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue