mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-13 21:47:44 +00:00
* We moved our issue tracker to GitHub * OSU OSL provides an HTTPS-enabled mirror Signed-off-by: Yury V. Zaytsev <yury@shurup.com> Closes: https://github.com/gentoo/gentoo/pull/41090 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
16 lines
621 B
Diff
16 lines
621 B
Diff
Fix mouse-key input with ncurses6 in terminals without basic X10 mouse
|
|
support, at the cost of breaking it with ncurses5. See discussion in
|
|
https://github.com/MidnightCommander/mc/issues/4144 .
|
|
|
|
--- a/lib/tty/key.c
|
|
+++ b/lib/tty/key.c
|
|
@@ -2124,8 +2124,7 @@
|
|
gboolean extended = c == MCKEY_EXTENDED_MOUSE;
|
|
|
|
#ifdef KEY_MOUSE
|
|
- extended = extended || (c == KEY_MOUSE && xmouse_seq == NULL
|
|
- && xmouse_extended_seq != NULL);
|
|
+ extended = extended || (c == KEY_MOUSE && xmouse_extended_seq != NULL);
|
|
#endif /* KEY_MOUSE */
|
|
|
|
xmouse_get_event (event, extended);
|