diff options
-rw-r--r-- | x.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) { |