Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For GTK runtime, don't call cursorPosCallback if cursor pos didn't actually change. #4973

Merged

Conversation

jnichols0
Copy link
Contributor

Fixes #3345

Piggybacking on the logic introduced PR #3997, this patch prevents mouse motion events with the same cursor position triggered by the window title updating from un-hiding the mouse even when mouse-hide-while-typing config item is true.

@mitchellh mitchellh merged commit caddf59 into ghostty-org:main Jan 12, 2025
30 checks passed
@mitchellh
Copy link
Contributor

Works well for me, thank you

@github-actions github-actions bot added this to the 1.1.0 milestone Jan 12, 2025
@jnichols0 jnichols0 deleted the handle-same-cursor-pos-mouse-motion branch January 12, 2025 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mouse is shown when title changes with mouse-hide-while-typing enabled
2 participants