From 627a127f1b96608649eee5ac474bf762daffbc3a Mon Sep 17 00:00:00 2001 From: Osspial Date: Sun, 5 Jan 2020 17:11:25 -0500 Subject: [PATCH] we did it bois (#1352) --- CHANGELOG.md | 4 +++- Cargo.toml | 2 +- README.md | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24265513..937995c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/Cargo.toml b/Cargo.toml index 5e198f5b..be6b9430 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winit" -version = "0.20.0-alpha6" +version = "0.20.0" authors = ["The winit contributors", "Pierre Krieger "] description = "Cross-platform window creation library." edition = "2018" diff --git a/README.md b/README.md index ff5b5902..b4c673a1 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ```toml [dependencies] -winit = "0.20.0-alpha6" +winit = "0.20.0" ``` ## [Documentation](https://docs.rs/winit)