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

[Window] Fix mouse hover state of the main window when mouse enter event was sent before setting callbacks. #92908

Merged

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Jun 8, 2024

Main window is shown before event callbacks for Window are set, and OS mouse-enter event might arrive before it and get lost.

Fixes #91589

@bruvzg bruvzg added this to the 4.3 milestone Jun 8, 2024
@bruvzg bruvzg requested a review from a team as a code owner June 8, 2024 16:10
scene/main/window.cpp Outdated Show resolved Hide resolved
@bruvzg bruvzg force-pushed the fix_main_window_initial_mouseover branch from c68241e to 768fd1e Compare June 10, 2024 15:43
@akien-mga akien-mga merged commit d3c1eb0 into godotengine:master Jun 11, 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 window doesn't receive some mouse events when it's first launched
3 participants