Skip to content

Commit

Permalink
X10/SGR mouse: use alt as meta key instead of super/windows key
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkeby committed Feb 24, 2022
1 parent 9a86625 commit cc45957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit cc45957

Please sign in to comment.