mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
Properly mark a few changes as breaking
This commit is contained in:
parent
20e81695ca
commit
8a3a32f286
|
@ -9,7 +9,7 @@
|
||||||
- On Wayland, under mutter(GNOME Wayland), fix CSD being behind the status bar, when starting window in maximized mode.
|
- On Wayland, under mutter(GNOME Wayland), fix CSD being behind the status bar, when starting window in maximized mode.
|
||||||
- On Windows, theme the title bar according to whether the system theme is "Light" or "Dark".
|
- On Windows, theme the title bar according to whether the system theme is "Light" or "Dark".
|
||||||
- Added `WindowEvent::ThemeChanged` variant to handle changes to the system theme. Currently only implemented on Windows.
|
- Added `WindowEvent::ThemeChanged` variant to handle changes to the system theme. Currently only implemented on Windows.
|
||||||
- Changes to the `RedrawRequested` event (#1041):
|
- **Breaking**: Changes to the `RedrawRequested` event (#1041):
|
||||||
- `RedrawRequested` has been moved from `WindowEvent` to `Event`.
|
- `RedrawRequested` has been moved from `WindowEvent` to `Event`.
|
||||||
- `EventsCleared` has been renamed to `MainEventsCleared`.
|
- `EventsCleared` has been renamed to `MainEventsCleared`.
|
||||||
- `RedrawRequested` is now issued only after `MainEventsCleared`.
|
- `RedrawRequested` is now issued only after `MainEventsCleared`.
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
- On Windows, fix focusing unfocused windows when switching from fullscreen to windowed.
|
- On Windows, fix focusing unfocused windows when switching from fullscreen to windowed.
|
||||||
- On X11, fix reporting incorrect DPI factor when waking from suspend.
|
- On X11, fix reporting incorrect DPI factor when waking from suspend.
|
||||||
- Change `EventLoopClosed` to contain the original event.
|
- Change `EventLoopClosed` to contain the original event.
|
||||||
- Add `is_synthetic` field to `WindowEvent` variant `KeyboardInput`,
|
- **Breaking**: Add `is_synthetic` field to `WindowEvent` variant `KeyboardInput`,
|
||||||
indicating that the event is generated by winit.
|
indicating that the event is generated by winit.
|
||||||
- On X11, generate synthetic key events for keys held when a window gains or loses focus.
|
- On X11, generate synthetic key events for keys held when a window gains or loses focus.
|
||||||
- On X11, issue a `CursorMoved` event when a `Touch` event occurs,
|
- On X11, issue a `CursorMoved` event when a `Touch` event occurs,
|
||||||
|
|
Loading…
Reference in a new issue