Move available_monitors and primary_monitor to EventLoopWindowTarget (#1616)

This commit is contained in:
Xavier L'Heureux 2020-07-04 15:46:41 -04:00 committed by GitHub
parent dd866a74a6
commit 3d5d05eac7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 121 additions and 110 deletions

View file

@ -758,7 +758,7 @@ impl Window {
/// Returns the list of all the monitors available on the system.
///
/// This is the same as `EventLoop::available_monitors`, and is provided for convenience.
/// This is the same as `EventLoopWindowTarget::available_monitors`, and is provided for convenience.
///
/// ## Platform-specific
///
@ -773,7 +773,7 @@ impl Window {
/// Returns the primary monitor of the system.
///
/// This is the same as `EventLoop::primary_monitor`, and is provided for convenience.
/// This is the same as `EventLoopWindowTarget::primary_monitor`, and is provided for convenience.
///
/// ## Platform-specific
///