diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-01-12 09:44:27 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-01-12 09:44:27 +0100 |
commit | 2c5edf28ec851907305d73c6218ce75d39f1767f (patch) | |
tree | a0b157fa808af72b7c67a0abbaed68bc1f2a113e | |
parent | b1d97fec47b0d6633addb848131388ec40154ebc (diff) | |
download | st-patched-2c5edf28ec851907305d73c6218ce75d39f1767f.tar.bz2 st-patched-2c5edf28ec851907305d73c6218ce75d39f1767f.tar.xz st-patched-2c5edf28ec851907305d73c6218ce75d39f1767f.zip |
X10/SGR mouse: use alt as meta key instead of super/windows key
-rw-r--r-- | x.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -415,7 +415,7 @@ mousereport(XEvent *e) | |||
415 | 415 | ||
416 | if (!IS_SET(MODE_MOUSEX10)) { | 416 | if (!IS_SET(MODE_MOUSEX10)) { |
417 | code += ((state & ShiftMask ) ? 4 : 0) | 417 | code += ((state & ShiftMask ) ? 4 : 0) |
418 | + ((state & Mod4Mask ) ? 8 : 0) | 418 | + ((state & Mod1Mask ) ? 8 : 0) /* meta key: alt */ |
419 | + ((state & ControlMask) ? 16 : 0); | 419 | + ((state & ControlMask) ? 16 : 0); |
420 | } | 420 | } |
421 | 421 | ||