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

Wayland: Scale relative pointer motion #94021

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

Riteo
Copy link
Contributor

@Riteo Riteo commented Jul 7, 2024

Fixes #93981.

Oops, forgot to do that. Motion-dependent stuff should now work properly when using scaled displays.


I'll eventually look into transforming the input events in a generic way inside WaylandThread::push_message, as this won't be the last time we forget to scale an event, I'm sure of it. I hope that's a good idea.

Oops, forgot to do that. Motion-dependent stuff should now work properly
when using scaled displays.
@akien-mga akien-mga changed the title Wayland: scale relative pointer motion Wayland: Scale relative pointer motion Jul 7, 2024
@akien-mga akien-mga merged commit f3af22b into godotengine:master Jul 7, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panning visual shader editor in Wayland is not 1:1 with certain scaling settings
2 participants