While running drawterm under sway (wayland), the middle mouse button triggered both down and up only *after* the button was released (as seen by xev).
It came down to 'button scrolling' on the TrackPoint device (you can hold the middle button and scroll with the trackpoint). I couldn't figure out how to get libinput to stop doing this.
With a nudge from @firstname.lastname@example.org toward sway-input and it's man page. I added the following to my sway config:
input * scroll_button disable
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!