Touch events emit screen coordinates instead of client coordinates on Windows (#1042)

* Touch events emit screen coordinates instead of client coordinates on Windows

Fixes #1002

* Don't lose precision of WM_TOUCH events when converting from screen space to client space

* Updated CHANGELOG.md to reflect changes from issue: #1042
This commit is contained in:
dam4rus 2019-07-17 18:25:35 +02:00 • committed by Osspial
parent e8e4d4ce66
commit 8567758156
2 changed files with 23 additions and 4 deletions

View file

@ -18,6 +18,7 @@ and `WindowEvent::HoveredFile`.
- On Windows, fix the trail effect happening on transparent decorated windows. Borderless (or un-decorated) windows were not affected.
- On Windows, fix `with_maximized` not properly setting window size to entire window.
- On macOS, change `WindowExtMacOS::request_user_attention()` to take an `enum` instead of a `bool`.
- On Windows, location of `WindowEvent::Touch` are window client coordinates instead of screen coordinates.
# 0.20.0 Alpha 1 (2019-06-21)