From 6ad3700a3dcf180d0c31830f72c32385c7098bdc Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Sat, 27 Aug 2016 11:11:00 +0200
Subject: [PATCH] prompt: mouse clicks that moved the cursor need no further
 processing

This fixes https://savannah.gnu.org/bugs/?48917.
---
 src/prompt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/prompt.c b/src/prompt.c
index 8a77b296..40eea80b 100644
--- a/src/prompt.c
+++ b/src/prompt.c
@@ -69,7 +69,7 @@ int do_statusbar_input(bool *ran_func, bool *finished,
 	if (do_statusbar_mouse() == 1)
 	    input = get_kbinput(bottomwin);
 	else
-	    input = ERR;
+	    return ERR;
     }
 #endif
 
-- 
GitLab