On Wayland, fix coordinates in mouse events when scale factor isn't 1 (#1385)

* On Wayland, fix coordinates in mouse events when scale factor isn't 1

* Refactor mouse_focus to be a surface instead of WindowId
This commit is contained in:
Kirill Chibisov 2020-01-11 11:45:52 +03:00 committed by Freya Gentz
parent 1ddceeb063
commit a6d180cefb
2 changed files with 21 additions and 8 deletions

View file

@ -6,6 +6,7 @@
- On X11, fix deadlock on window state when handling certain window events.
- `WindowBuilder` now implements `Default`.
- **Breaking:** `WindowEvent::CursorMoved` changed to `f64` units, preserving high-precision data supplied by most backends
- On Wayland, fix coordinates in mouse events when scale factor isn't 1
# 0.20.0 (2020-01-05)