Implement MonitorId::get_hidpi_factor for macOS (#410)

* Implement MonitorId::get_hidpi_factor for macOS

* Added changelog entry
This commit is contained in:
Nicholas Lordello
2018-03-06 09:35:04 +01:00
committed by Pierre Krieger
parent 4c62d71950
commit f3d43016ad
4 changed files with 47 additions and 27 deletions

View File

@@ -1,6 +1,8 @@
# Unreleased
- Impl `Hash`, `PartialEq`, and `Eq` for `events::ModifiersState`.
- Implement `MonitorId::get_hidpi_factor` for MacOS.
- Added method `os::macos::MonitorIdExt::get_nsscreen() -> *mut c_void` that gets a `NSScreen` object matching the monitor ID.
# Version 0.11.1 (2018-02-19)