aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2022-01-12 09:44:27 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-05-12 21:20:50 +0200
commit5cf4a53838bba66b04b7fcf6b1516d1355521050 (patch)
tree9b07fb5d8a4513b7bd357e5dd905786741e3abfe
parent4036dbe792f89e74ab101b74aed2ee320681c694 (diff)
downloadst-5cf4a53838bba66b04b7fcf6b1516d1355521050.tar.gz
X10/SGR mouse: use alt as meta key instead of super/windows key
-rw-r--r--x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x.c b/x.c
index 2ea7589..0a4e7bb 100644
--- a/x.c
+++ b/x.c
@@ -418,7 +418,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);
}
remember that computers suck.