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

macOS: Call ApplicationHandler directly instead of using Event #3753

Merged
merged 3 commits into from
Jun 23, 2024

Conversation

madsmtm
Copy link
Member

@madsmtm madsmtm commented Jun 23, 2024

When we added ApplicationHandler, the intention was always to slowly phase out Event - this does that in the macOS backend.

Extracted from #3694 to reduce the diff in that.

  • Tested on all platforms changed

madsmtm and others added 2 commits June 23, 2024 21:20
These events were intentionally not queued before, since they are
executed inside `handle_scale_factor_changed`, which is itself queued.

Though that's a bit too subtle, so let's just take the minuscule perf
hit of redundantly checking whether we need to queue again.

Co-Authored-By: Kirill Chibisov <contact@kchibisov.com>
Co-Authored-By: Kirill Chibisov <contact@kchibisov.com>
@madsmtm madsmtm merged commit c0c14aa into master Jun 23, 2024
53 checks passed
@madsmtm madsmtm deleted the madsmtm/macos-remove-event branch June 23, 2024 21:14
@madsmtm madsmtm changed the title macOS: Call ApplicationHandler directly instead of using Event macOS: Call ApplicationHandler directly instead of using Event Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DS - macos S - maintenance Repaying technical debt
Development

Successfully merging this pull request may close these issues.

2 participants