browser: after getting a mouse click, don't try any further interpretation

Either the selected file was changed, or a file or directory was chosen
(and the Enter key virtually pressed), or a shortcut was executed.  So,
just go and read the next key.

This fixes https://savannah.gnu.org/bugs/?47944.
master
Benno Schulenberg 2016-05-17 17:49:15 +02:00
parent eedec06cc4
commit c03ce956c8
1 changed files with 2 additions and 0 deletions

View File

@ -163,6 +163,8 @@ char *do_browser(char *path, DIR *dir)
if (old_selected == selected)
unget_kbinput(sc_seq_or(do_enter, 0), FALSE, FALSE);
}
continue;
}
#endif /* !DISABLE_MOUSE */