Commit 473c4e71 authored by Egmont Koblinger's avatar Egmont Koblinger

emulation: Do not encode keyboard modifiers in X10 mouse mode

#93
parent 97dcafab
......@@ -5541,15 +5541,17 @@ Terminal::feed_mouse_event(vte::grid::coords const& rowcol /* confined */,
}
/* Encode the modifiers. */
if (m_modifiers & GDK_SHIFT_MASK) {
cb |= 4;
}
if (m_modifiers & VTE_META_MASK) {
cb |= 8;
}
if (m_modifiers & GDK_CONTROL_MASK) {
cb |= 16;
}
if (m_mouse_tracking_mode >= MOUSE_TRACKING_SEND_XY_ON_BUTTON) {
if (m_modifiers & GDK_SHIFT_MASK) {
cb |= 4;
}
if (m_modifiers & VTE_META_MASK) {
cb |= 8;
}
if (m_modifiers & GDK_CONTROL_MASK) {
cb |= 16;
}
}
/* Encode a drag event. */
if (is_drag) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment