From 0554db65eace93d9c589c04ef12ad57c2c73b7b0 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Sat, 5 Nov 2016 20:00:22 +0100 Subject: [PATCH] Fix dmenu with -selected-row --- source/dialogs/dmenu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/dialogs/dmenu.c b/source/dialogs/dmenu.c index 0700ca26..47c81562 100644 --- a/source/dialogs/dmenu.c +++ b/source/dialogs/dmenu.c @@ -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 ) {