mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
On Web, never return a MonitorHandle (#3051)
This commit is contained in:
@@ -1050,6 +1050,7 @@ impl Window {
|
||||
/// - **iOS:** Can only be called on the main thread.
|
||||
/// - **Android / Orbital:** Will always return `None`.
|
||||
/// - **Wayland:** Can return `Borderless(None)` when there are no monitors.
|
||||
/// - **Web:** Can only return `None` or `Borderless(None)`.
|
||||
#[inline]
|
||||
pub fn fullscreen(&self) -> Option<Fullscreen> {
|
||||
self.window
|
||||
|
||||
Reference in New Issue
Block a user