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
parent
eedec06cc4
commit
c03ce956c8
|
@ -163,6 +163,8 @@ char *do_browser(char *path, DIR *dir)
|
||||||
if (old_selected == selected)
|
if (old_selected == selected)
|
||||||
unget_kbinput(sc_seq_or(do_enter, 0), FALSE, FALSE);
|
unget_kbinput(sc_seq_or(do_enter, 0), FALSE, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
#endif /* !DISABLE_MOUSE */
|
#endif /* !DISABLE_MOUSE */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue