We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68d3317 commit cfb929bCopy full SHA for cfb929b
examples/fullscreen.rs
@@ -70,12 +70,11 @@ fn main() {
70
#[cfg(target_os = "macos")]
71
{
72
if macos_use_simple_fullscreen {
73
- use winit::os::macos::WindowExt;
74
- if WindowExt::set_simple_fullscreen(&window, !is_fullscreen) {
+ use winit::platform::macos::WindowExtMacOS;
+ if WindowExtMacOS::set_simple_fullscreen(&window, !is_fullscreen) {
75
is_fullscreen = !is_fullscreen;
76
}
77
-
78
- return ControlFlow::Continue;
+ return;
79
80
81
0 commit comments