Skip to content

On macOS, fix initial focused state#2696

Merged
kchibisov merged 1 commit intorust-windowing:masterfrom
kchibisov:fix-macos-initial-focused-event
Feb 27, 2023
Merged

On macOS, fix initial focused state#2696
kchibisov merged 1 commit intorust-windowing:masterfrom
kchibisov:fix-macos-initial-focused-event

Conversation

@kchibisov
Copy link
Copy Markdown
Member

The synthetic focused event was queued after the real event was send leading to focused issues on startup.

Fixes #2695.

@kchibisov kchibisov requested a review from madsmtm as a code owner February 24, 2023 09:21
@kchibisov kchibisov force-pushed the fix-macos-initial-focused-event branch from 430e715 to 5d6e3b0 Compare February 24, 2023 09:22
The synthetic focused event was queued after the real event was send
leading to focused issues on startup.

Fixes rust-windowing#2695.
@kchibisov
Copy link
Copy Markdown
Member Author

r @mockersf

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Macos fires WindowEvent::Focused(false) on WinitWindow creation

2 participants