X10/SGR mouse: use alt as meta key instead of super/windows key

(cherry picked from commit 2c5edf28ec851907305d73c6218ce75d39f1767f)
master
Hiltjo Posthuma 3 years ago committed by alex
parent b8fe2e94c9
commit 0f9f20e24f

2
x.c

@ -412,7 +412,7 @@ mousereport(XEvent *e)
if (!IS_SET(MODE_MOUSEX10)) {
code += ((state & ShiftMask ) ? 4 : 0)
+ ((state & Mod4Mask ) ? 8 : 0)
+ ((state & Mod1Mask ) ? 8 : 0) /* meta key: alt */
+ ((state & ControlMask) ? 16 : 0);
}

Loading…
Cancel
Save