diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-01-25 20:46:11 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-01-25 20:46:11 +0100 |
commit | f42258f60a4d536885201c62b3b84758d7ada775 (patch) | |
tree | f49680f2345a098826a72884d347b4782916bb50 | |
parent | 384a918d280b6d36233aafa989dbc1cc6e5855dd (diff) | |
parent | c4b6b19ff952d0062c28f705d917756cada7b29a (diff) |
Merge remote-tracking branch 'origin/master' into glib-loop
-rw-r--r-- | source/rofi.c | 2 | ||||
-rwxr-xr-x | test/run_dmenu_empty.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/rofi.c b/source/rofi.c index 80e9de58..2eab2dca 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -1442,7 +1442,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; diff --git a/test/run_dmenu_empty.sh b/test/run_dmenu_empty.sh index f241dd3e..fc0ebf54 100755 --- a/test/run_dmenu_empty.sh +++ b/test/run_dmenu_empty.sh @@ -8,7 +8,7 @@ xdotool key Return wait ${RPID} RETV=$? -if [ ${RETV} -eq 1 ] +if [ ${RETV} -eq 0 ] then exit 0 else |