Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mouse_drag not firing for right/middle buttons
This is a bit of an odd combination of a few bugs: - When the terminal component is blurred, we fire a mouse_up event for the last-held button. However, we had an off-by-1 error here, so this only triggered for the right/middle buttons. - This was obsucuring the second bug, which is when we clicked within the terminal, this caused the terminal to be blurred (thus releasing the mouse) and then focused again. We fix this by only setting the focus if there's actually a change. Fixes #1655
- Loading branch information