mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-03 04:23:42 -05:00
Bug #200, add '-b' method.
This commit is contained in:
parent
77e5541ba5
commit
c97d2979e5
1 changed files with 9 additions and 0 deletions
|
@ -238,6 +238,15 @@ int dmenu_switcher_dialog ( char **input )
|
|||
g_strfreev ( tokens );
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Dmenu compatibility.
|
||||
* `-b` put on bottom.
|
||||
*/
|
||||
if ( find_arg ( "-b" ) >= 0 ) {
|
||||
config.location = 6;
|
||||
}
|
||||
|
||||
do {
|
||||
int next_pos = selected_line;
|
||||
int mretv = menu ( list, length, input, dmenu_prompt,
|
||||
|
|
Loading…
Reference in a new issue