1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-03 04:23:42 -05:00

Fix dmenu with -selected-row

This commit is contained in:
Dave Davenport 2016-11-05 20:00:22 +01:00
parent e3014f5a7a
commit 0554db65ea

View file

@ -599,7 +599,8 @@ int dmenu_switcher_dialog ( void )
int async = TRUE;
// For now these only work in sync mode.
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;
}
if ( async ) {