macOS: Implement Moved (#478)

* macOS: Implement Moved

Fixes #67

* Also emit Moved after resizes that change position
This commit is contained in:
Francesca Frangipane 2018-04-27 20:46:20 -04:00 committed by GitHub
parent 8f47fdbe67
commit 7aeb2c083b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 2 deletions

View file

@ -2,6 +2,7 @@
- Corrected `get_position` on Windows to be relative to the screen rather than to the taskbar.
- Corrected `Moved` event on Windows to use position values equivalent to those returned by `get_position`. It previously supplied client area positions instead of window positions, and would additionally interpret negative values as being very large (around `u16::MAX`).
- Implemented `Moved` event on macOS.
# Version 0.13.1 (2018-04-26)