mirror of
https://github.com/lbonn/rofi
synced 2024-11-27 14:21:07 +00:00
Fix dmenu with -selected-row
This commit is contained in:
parent
e3014f5a7a
commit
0554db65ea
1 changed files with 2 additions and 1 deletions
|
@ -599,7 +599,8 @@ int dmenu_switcher_dialog ( void )
|
||||||
int async = TRUE;
|
int async = TRUE;
|
||||||
// For now these only work in sync mode.
|
// For now these only work in sync mode.
|
||||||
if ( find_arg ( "-sync" ) >= 0 || find_arg ( "-dump" ) >= 0 || find_arg ( "-select" ) >= 0
|
if ( find_arg ( "-sync" ) >= 0 || find_arg ( "-dump" ) >= 0 || find_arg ( "-select" ) >= 0
|
||||||
|| find_arg ( "-no-custom" ) >= 0 || find_arg ( "-only-match" ) >= 0 || config.auto_select ) {
|
|| find_arg ( "-no-custom" ) >= 0 || find_arg ( "-only-match" ) >= 0 || config.auto_select ||
|
||||||
|
find_arg ( "-selected-row") >= 0 ) {
|
||||||
async = FALSE;
|
async = FALSE;
|
||||||
}
|
}
|
||||||
if ( async ) {
|
if ( async ) {
|
||||||
|
|
Loading…
Reference in a new issue