Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Terminal: clamp mouse events to the viewport, don't throw them away
gnome-terminal (at least) sends mouse events whose x/y are at the extreme ends of the buffer when a drag starts inside the terminal and then exits it. We would previously discard any mouse events that exited the borders of the viewport. Now we will keep emitting events where X/Y=0/w/h. Fixes #6401 in Terminal.
- Loading branch information