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

Get window ids from events instead of manual tracking #273

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

vladbat00
Copy link
Owner

@vladbat00 vladbat00 commented Mar 30, 2024

Fixes #272. The issue reminded me that Bevy now includes window ids in event payloads. The refactor to use them instead of manual focused window tracking eliminates some buggy edge cases and simplifies a lot of code.

@vladbat00 vladbat00 force-pushed the refactor-event-window-tracking branch from b5b63f1 to 171b4e7 Compare March 30, 2024 22:26
@vladbat00 vladbat00 merged commit 9dfe707 into main Apr 3, 2024
39 checks passed
@vladbat00 vladbat00 deleted the refactor-event-window-tracking branch April 3, 2024 16:35
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 up events are ignored on native if cursor moves to another window in between.
1 participant