mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 06:10:07 -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)
|
self.window.set_decorations(decorations)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the current monitor the window is on or the primary monitor is nothing
|
/// Returns the monitor on which the window currently resides
|
||||||
/// matches
|
|
||||||
pub fn get_current_monitor(&self) -> MonitorId {
|
pub fn get_current_monitor(&self) -> MonitorId {
|
||||||
self.window.get_current_monitor()
|
self.window.get_current_monitor()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user