mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 13:31:29 +11:00
[ci skip] Doc fix for struct winit::Window (#452)
This commit is contained in:
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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue