Introduction
Introduction Statistics Contact Development Disclaimer Help
X10/SGR mouse: use alt as meta key instead of super/windows key - st - simple t…
git clone git://git.suckless.org/st
Log
Files
Refs
README
LICENSE
---
commit 2c5edf28ec851907305d73c6218ce75d39f1767f
parent b1d97fec47b0d6633addb848131388ec40154ebc
Author: Hiltjo Posthuma <[email protected]>
Date: Wed, 12 Jan 2022 09:44:27 +0100
X10/SGR mouse: use alt as meta key instead of super/windows key
Diffstat:
M x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/x.c b/x.c
@@ -415,7 +415,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);
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.