From cc4595779d6eb143b0d9f0ef1bfe745b8fd6c828 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Thu, 24 Feb 2022 13:39:56 +0100 Subject: [PATCH] X10/SGR mouse: use alt as meta key instead of super/windows key Ref. - https://git.suckless.org/st/commit/2c5edf28ec851907305d73c6218ce75d39f1767f.html --- x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x.c b/x.c index 7014af0..de52422 100644 --- a/x.c +++ b/x.c @@ -447,7 +447,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); }