summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-01-25 08:58:56 +0100
committerDave Davenport <qball@gmpclient.org>2016-01-25 08:58:56 +0100
commite416753cb381e39bd3b72294786aa2bc6f74fbbc (patch)
tree0a23111b090a043497b2d913a3680ddecc679dd7 /source
parent784244a35bd208e0ac5d95f11220e103ad738ec8 (diff)
On empty input, return CUSTOM_INPUT so to distinquish between cancel and empty.
Fix #322
Diffstat (limited to 'source')
-rw-r--r--source/rofi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rofi.c b/source/rofi.c
index b3d03b67..172f9826 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -1417,7 +1417,7 @@ static void menu_mainloop_iter ( MenuState *state, XEvent *ev )
}
else{
// Nothing entered and nothing selected.
- state->retv = MENU_CANCEL;
+ state->retv = MENU_CUSTOM_INPUT;
}
if ( shift ) {
state->retv |= MENU_SHIFT;