Merge branch 'upstream'

This commit is contained in:
David JULIEN 2021-04-13 09:31:36 +02:00
commit 76751a33c5
1 changed files with 3 additions and 1 deletions

4
x.c
View File

@ -405,7 +405,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) {