set_fullscreen takes an Option<WindowId>.
However we dont need to make get_fullscreen() return an Option<WindowId> because we can use get_current_monitor() -> WindowId instead.
The window manager (at least on X11) can set the fullscreen state so just remembering the state in winit will not be enough.
set_fullscreentakes anOption<WindowId>.However we dont need to make
get_fullscreen()return anOption<WindowId>because we can useget_current_monitor() -> WindowIdinstead.The window manager (at least on X11) can set the fullscreen state so just remembering the state in winit will not be enough.