On Windows, make AdjustRect calls DPI-aware when possible (#1015)

* Use AdjustWidowRectExForDPI when available

* Prioritize presevering logical size when handling WM_DPICHANGED

* Format

* Add changelog entry
This commit is contained in:
Osspial 2020-01-04 01:29:40 -05:00
parent f379d069b9
commit 6ffd78767f
7 changed files with 143 additions and 107 deletions

View file

@ -144,6 +144,9 @@ and `WindowEvent::HoveredFile`.
- On macOS, change `WindowExtMacOS::request_user_attention()` to take an `enum` instead of a `bool`.
# 0.20.0 Alpha 1 (2019-06-21)
- On Windows, fix window rectangle not getting set correctly on high-DPI systems.
# 0.20.0 Alpha 1
- Changes below are considered **breaking**.
- Change all occurrences of `EventsLoop` to `EventLoop`.