mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -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 );
|
g_strfreev ( tokens );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Dmenu compatibility.
|
||||||
|
* `-b` put on bottom.
|
||||||
|
*/
|
||||||
|
if ( find_arg ( "-b" ) >= 0 ) {
|
||||||
|
config.location = 6;
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
int next_pos = selected_line;
|
int next_pos = selected_line;
|
||||||
int mretv = menu ( list, length, input, dmenu_prompt,
|
int mretv = menu ( list, length, input, dmenu_prompt,
|
||||||
|
|
Loading…
Reference in a new issue