AppKit/UIKit: Do not emit default state events upon window creation (#3912)

Do not emit redundant ScaleFactorChanged, SurfaceResized and Focused.
This commit is contained in:
Mads Marquart 2024-12-02 23:10:33 +01:00 committed by GitHub
parent 2e5db75101
commit cfa8f027cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13 additions and 34 deletions

View file

@ -161,6 +161,8 @@ changelog entry.
- In the same spirit rename `DeviceEvent::MouseMotion` to `PointerMotion`.
- Remove `Force::Calibrated::altitude_angle`.
- On X11, use bottom-right corner for IME hotspot in `Window::set_ime_cursor_area`.
- On macOS and iOS, no longer emit `ScaleFactorChanged` upon window creation.
- On macOS, no longer emit `Focused` upon window creation.
### Removed