From 08d6d6b6855d908ff662927fadc8d011114bd193 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Sat, 12 Dec 2015 20:54:59 +0100 Subject: [PATCH] Fix return code multi-select --- Changelog | 1 + source/dialogs/dmenu.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Changelog b/Changelog index 21b113b9..bffe9c8d 100644 --- a/Changelog +++ b/Changelog @@ -11,6 +11,7 @@ - Regex matching (#113) - Take Screenshot of rofi using keybinding. Improvements: + - Fix return code of multi-select. - Update manpage (#289, #291) - Improve speed of reading stdin in dmenu mode. - Correctly handle modifier keys now. Should now support most weird keyboard layouts and switching between them. diff --git a/source/dialogs/dmenu.c b/source/dialogs/dmenu.c index 4aa48af1..f1d34c48 100644 --- a/source/dialogs/dmenu.c +++ b/source/dialogs/dmenu.c @@ -383,6 +383,7 @@ int dmenu_switcher_dialog ( void ) } do { + retv = FALSE; unsigned int next_pos = pd->selected_line; int mretv = menu ( &dmenu_mode, &input, pd->prompt, &( pd->selected_line ), &next_pos, pd->message ); // Special behavior.