winit/src/platform_impl/macos
Artúr Kovács ffe2143d14
Fix for closure-captured values not being dropped on panic (#1853)
* Fix for #1850

* Update changelog

* Fix for compilation warnings

* Apply suggestions from code review

Co-authored-by: Markus Røyset <maroider@protonmail.com>

* Improve code quality

* Change Arc<Mutex> to Rc<RefCell>

* Panicking in the user callback is now well defined

* Address feedback

* Fix nightly warning

* The panic info is now not a global.

* Apply suggestions from code review

Co-authored-by: Francesca Lovebloom <francesca@brainiumstudios.com>

* Address feedback

Co-authored-by: Markus Røyset <maroider@protonmail.com>
Co-authored-by: Francesca Lovebloom <francesca@brainiumstudios.com>
2021-03-08 19:56:39 +01:00
..
util Fix seg-fault when using without a window (#1874) 2021-03-06 11:17:23 +01:00
activation_hack.rs macOS: Unbundled window activation hack (#1318) 2020-01-10 16:02:42 -08:00
app.rs macOS: Unbundled window activation hack (#1318) 2020-01-10 16:02:42 -08:00
app_delegate.rs macOS: Unbundled window activation hack (#1318) 2020-01-10 16:02:42 -08:00
app_state.rs Fix for closure-captured values not being dropped on panic (#1853) 2021-03-08 19:56:39 +01:00
event.rs Prefix numpad virtual key codes with Numpad 2020-09-20 12:58:24 +03:00
event_loop.rs Fix for closure-captured values not being dropped on panic (#1853) 2021-03-08 19:56:39 +01:00
ffi.rs Change linking of CGDisplayCreateUUIDFromDisplayID on macos (#1626) 2021-02-05 08:58:55 +01:00
mod.rs Add ability to create Icons from embedded resources on Windows (#1410) 2020-03-07 14:42:21 -05:00
monitor.rs macOS: Unbundled window activation hack (#1318) 2020-01-10 16:02:42 -08:00
observer.rs Fix for closure-captured values not being dropped on panic (#1853) 2021-03-08 19:56:39 +01:00
view.rs macos: Fix compile on aarch64 2020-11-02 21:06:00 +00:00
window.rs Add dragging window with cursor feature (#1840) 2021-03-07 10:43:23 +01:00
window_delegate.rs Fix WindowEvent::Moved ignoring DPI on macOS 2020-09-23 10:54:53 +00:00