aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/x.c b/x.c
index 120e495..8bf998e 100644
--- a/x.c
+++ b/x.c
@@ -387,7 +387,9 @@ mousereport(XEvent *e)
387 button = 3; 387 button = 3;
388 } else { 388 } else {
389 button -= Button1; 389 button -= Button1;
390 if (button >= 3) 390 if (button >= 7)
391 button += 128 - 7;
392 else if (button >= 3)
391 button += 64 - 3; 393 button += 64 - 3;
392 } 394 }
393 if (e->xbutton.type == ButtonPress) { 395 if (e->xbutton.type == ButtonPress) {