commit 2a102930c5d25790c6c40c5d5d4bd8aeb5e2fd69
parent 05f74220448a16b94d09454cc9ae486476769f0b
Author: kocotian <kocotian@kocotian.pl>
Date: Sat, 27 Mar 2021 15:42:48 +0100
Merge remote-tracking branch 'upstream/master'
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/x.c b/x.c
@@ -394,7 +394,9 @@ mousereport(XEvent *e)
button = 3;
} else {
button -= Button1;
- if (button >= 3)
+ if (button >= 7)
+ button += 128 - 7;
+ else if (button >= 3)
button += 64 - 3;
}
if (e->xbutton.type == ButtonPress) {