SwordArMor-gentoo-overlay/x11-libs/vte/files/vte-0.60.3-disable-mouse.patch
Alarig Le Lay 216d904008
x11-libs/vte: Version bump to 0.60.3
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
2020-08-31 09:19:26 +02:00

23 lines
1 KiB
Diff

--- a/src/vteseq.cc 2020-08-31 09:09:59.238602019 +0200
+++ b/src/vteseq.cc 2020-08-31 09:11:55.999823022 +0200
@@ -454,18 +454,7 @@
void
Terminal::update_mouse_protocol() noexcept
{
- if (m_modes_private.XTERM_MOUSE_ANY_EVENT())
- m_mouse_tracking_mode = MouseTrackingMode::eALL_MOTION_TRACKING;
- else if (m_modes_private.XTERM_MOUSE_BUTTON_EVENT())
- m_mouse_tracking_mode = MouseTrackingMode::eCELL_MOTION_TRACKING;
- else if (m_modes_private.XTERM_MOUSE_VT220_HIGHLIGHT())
- m_mouse_tracking_mode = MouseTrackingMode::eHILITE_TRACKING;
- else if (m_modes_private.XTERM_MOUSE_VT220())
- m_mouse_tracking_mode = MouseTrackingMode::eSEND_XY_ON_BUTTON;
- else if (m_modes_private.XTERM_MOUSE_X10())
- m_mouse_tracking_mode = MouseTrackingMode::eSEND_XY_ON_CLICK;
- else
- m_mouse_tracking_mode = MouseTrackingMode::eNONE;
+ m_mouse_tracking_mode = MouseTrackingMode::eNONE;
m_mouse_smooth_scroll_delta = 0.0;