mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 22:53:15 -04:00
[ci skip] Doc fix for struct winit::Window (#452)
This commit is contained in:
committed by
Francesca Frangipane
parent
8b0b4ab248
commit
2477d8ce46
@@ -335,8 +335,7 @@ impl Window {
|
||||
self.window.set_decorations(decorations)
|
||||
}
|
||||
|
||||
/// Returns the current monitor the window is on or the primary monitor is nothing
|
||||
/// matches
|
||||
/// Returns the monitor on which the window currently resides
|
||||
pub fn get_current_monitor(&self) -> MonitorId {
|
||||
self.window.get_current_monitor()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user