summaryrefslogtreecommitdiffstats
path: root/source/dialogs/dmenu.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-11-05 20:00:22 +0100
committerDave Davenport <qball@gmpclient.org>2016-11-05 20:00:22 +0100
commit0554db65eace93d9c589c04ef12ad57c2c73b7b0 (patch)
tree8540552e0c6332de3537a642bf3b6d1df32b4ea9 /source/dialogs/dmenu.c
parente3014f5a7a488c6256d88c675f750eaf71d953fa (diff)
Fix dmenu with -selected-row
Diffstat (limited to 'source/dialogs/dmenu.c')
-rw-r--r--source/dialogs/dmenu.c3
1 files changed, 2 insertions, 1 deletions
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 ) {