winit/src/platform_impl/macos
Xiaopeng Li 32784af3c4
Don't panic when getting refresh rate failed (#2533)
This fixes a crash on macOS when trying to get the monitor
refresh rate from the disabled monitor.

Co-authored-by: Jet Spark <lixiaopeng.jetspark@bytedance.com>
Co-authored-by: Mads Marquart <mads@marquart.dk>
2022-11-29 11:28:46 +01:00
..
appkit On Windows and macOS, add API to enable/disable window controls (#2537) 2022-11-29 11:03:51 +01:00
util Only build, but don't run tests in MSRV CI (#2558) 2022-11-23 13:07:58 +01:00
app.rs Refactor macOS to use new objc2 features (#2465) 2022-09-08 16:45:29 +02:00
app_delegate.rs macOS: Fix ApplicationDelegate::init (#2566) 2022-11-23 15:23:06 +01:00
app_state.rs On macOS, add EventLoopBuilderExtMacOS::with_activate_ignoring_other_apps (#2551) 2022-11-23 13:42:46 +01:00
event.rs Refactor macOS to use new objc2 features (#2465) 2022-09-08 16:45:29 +02:00
event_loop.rs On macOS, add EventLoopBuilderExtMacOS::with_activate_ignoring_other_apps (#2551) 2022-11-23 13:42:46 +01:00
ffi.rs Refactor macOS to use new objc2 features (#2465) 2022-09-08 16:45:29 +02:00
menu.rs Only build, but don't run tests in MSRV CI (#2558) 2022-11-23 13:07:58 +01:00
mod.rs Only build, but don't run tests in MSRV CI (#2558) 2022-11-23 13:07:58 +01:00
monitor.rs Don't panic when getting refresh rate failed (#2533) 2022-11-29 11:28:46 +01:00
observer.rs Fix runloop entry (#2480) 2022-09-08 21:56:53 +02:00
view.rs Accepts first mouse (#2457) 2022-09-13 21:11:18 +02:00
window.rs On Windows and macOS, add API to enable/disable window controls (#2537) 2022-11-29 11:03:51 +01:00
window_delegate.rs On macOS, fix panic in current_monitor_inner 2022-11-05 05:30:39 +03:00