mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-27 03:56:33 +11:00
we did it bois (#1352)
This commit is contained in:
parent
ec1ae68cfc
commit
627a127f1b
3 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
||||||
# Unreleased
|
# Unreleased
|
||||||
|
|
||||||
|
# 0.20.0 (2020-01-05)
|
||||||
|
|
||||||
- On X11, fix `ModifiersChanged` emitting incorrect modifier change events
|
- On X11, fix `ModifiersChanged` emitting incorrect modifier change events
|
||||||
- **Breaking**: Overhaul how Winit handles DPI:
|
- **Breaking**: Overhaul how Winit handles DPI:
|
||||||
+ Window functions and events now return `PhysicalSize` instead of `LogicalSize`.
|
+ Window functions and events now return `PhysicalSize` instead of `LogicalSize`.
|
||||||
|
@ -8,7 +10,7 @@
|
||||||
+ `HiDpiFactorChanged` has been renamed to `ScaleFactorChanged`, and lets you control how the OS
|
+ `HiDpiFactorChanged` has been renamed to `ScaleFactorChanged`, and lets you control how the OS
|
||||||
resizes the window in response to the change.
|
resizes the window in response to the change.
|
||||||
+ On X11, deprecate `WINIT_HIDPI_FACTOR` environment variable in favor of `WINIT_X11_SCALE_FACTOR`.
|
+ On X11, deprecate `WINIT_HIDPI_FACTOR` environment variable in favor of `WINIT_X11_SCALE_FACTOR`.
|
||||||
+ `Size` and `Position` types are generic over their exact pixel type.
|
+ `Size` and `Position` types are now generic over their exact pixel type.
|
||||||
|
|
||||||
# 0.20.0 Alpha 6 (2020-01-03)
|
# 0.20.0 Alpha 6 (2020-01-03)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "winit"
|
name = "winit"
|
||||||
version = "0.20.0-alpha6"
|
version = "0.20.0"
|
||||||
authors = ["The winit contributors", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
authors = ["The winit contributors", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
||||||
description = "Cross-platform window creation library."
|
description = "Cross-platform window creation library."
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
winit = "0.20.0-alpha6"
|
winit = "0.20.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
## [Documentation](https://docs.rs/winit)
|
## [Documentation](https://docs.rs/winit)
|
||||||
|
|
Loading…
Add table
Reference in a new issue