TerminalDisplay: Limit mouse move events.
The terminal display mouse tracking is based on character boxes, i.e., unless the mouse moves out of a character box its position hasn't really changed. So most of the logic in `TerminalDisplay::mouseMoveEvent` can be skipped/omitted till the pointer crosses box boundaries. Before my changes applications like Vim/Neovim couldn't do selection via dragging with the left mouse button (there might be a bug there). I cursorily checked other features like the color filter and URL underlining, and they work.
parent
8de0e6c7
-
mentioned in merge request !370 (merged)
-
mentioned in merge request !404 (closed)
-
mentioned in merge request !431 (merged)
-
mentioned in merge request !413 (closed)
Please register or sign in to comment