we did it bois (#1352)

This commit is contained in:
Osspial 2020-01-05 17:11:25 -05:00 committed by GitHub
parent ec1ae68cfc
commit 627a127f1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,7 @@
# Unreleased
# 0.20.0 (2020-01-05)
- On X11, fix `ModifiersChanged` emitting incorrect modifier change events
- **Breaking**: Overhaul how Winit handles DPI:
+ 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
resizes the window in response to the change.
+ 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)

View file

@ -1,6 +1,6 @@
[package]
name = "winit"
version = "0.20.0-alpha6"
version = "0.20.0"
authors = ["The winit contributors", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "Cross-platform window creation library."
edition = "2018"

View file

@ -7,7 +7,7 @@
```toml
[dependencies]
winit = "0.20.0-alpha6"
winit = "0.20.0"
```
## [Documentation](https://docs.rs/winit)