You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to plan9port-dev
Unintended B1/B3 double/multiple "click" (scroll) happens when B3/B1
is down and mouse is moved during scrsleep(80).
To reproduce change $PLAN9/src/cmd/acme/scrl.c with attached
repro.scrl.c then mk; ./o.acme
To avoid unintended scroll (ok.scrl.c):
1. change scrsleep() to exit before timer is up, iff button is released and
2. amend "first loop".
Drawback: no more extra quick scrolling by shaking the mouse during B1/B3 down.
Though if you need extra quick scrolling, you can change scrsleep(80)
to scrsleep(10) or less.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to plan9port-dev
I've been using acme with this modification since May and I did not
detect any unexpected behaviour and I did not have any unintended
double-triple click since then. Shall I process this with
codereview(1) ?