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

Windows: Fix mouse handling regression #90382

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

RandomShaper
Copy link
Member

Fixes a regression from #84363. Admittedly, when I made such PR, I was unaware that there were two different flags for controlling windows' activation/focus. It turned out that the flag that I neglected was precisely the one involved when dealing with capture mouse mode. The concern is that by both being unified now, there's potential for other regressions in the other features that depended on the split (either before or after this PR), or maybe the original PR plus this one just makes it all solid.

Fixes #90359.

@Sauermann
Copy link
Contributor

Please have a look at #90334 which goes in the opposite direction. Which of the two PRs would be preferable?

@akien-mga
Copy link
Member

Please have a look at #90334 which goes in the opposite direction. Which of the two PRs would be preferable?

It seems to me like this PR (90382) implements what you suggested in #90334 (review), which also seems like the best solution to me.

I don't see the point of having 2 members for this if they need to be in sync.

@akien-mga akien-mga merged commit dc91479 into godotengine:master Apr 8, 2024
16 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.

Editor 3D Viewport mouse controls broken on Windows
3 participants