From c48de685dd6b36e9d6b820c7b1b35c0b855ccb20 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Thu, 9 Jun 2022 15:56:06 +0200 Subject: [PATCH] Add changelog and TODO entry --- CHANGELOG.md | 1 + src/platform_impl/macos/app_delegate.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c3e879499..235a8ab1f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ And please only add new entries to the top of this list, right below the `# Unre # Unreleased +- On macOS, Fix emitting `Event::LoopDestroyed` on CMD+Q. - On macOS, fixed an issue where having multiple windows would prevent run_return from ever returning. - On Wayland, fix bug where the cursor wouldn't hide in GNOME. - On macOS, Windows, and Wayland, add `set_cursor_hittest` to let the window ignore mouse events. diff --git a/src/platform_impl/macos/app_delegate.rs b/src/platform_impl/macos/app_delegate.rs index 69a5090e90..0ba31ecd40 100644 --- a/src/platform_impl/macos/app_delegate.rs +++ b/src/platform_impl/macos/app_delegate.rs @@ -83,6 +83,7 @@ extern "C" fn did_finish_launching(this: &Object, _: Sel, _: id) { extern "C" fn will_terminate(_this: &Object, _: Sel, _: id) { trace!("Triggered `applicationWillTerminate`"); + // TODO: Notify every window that it will be destroyed, like done in iOS? AppState::exit(); trace!("Completed `applicationWillTerminate`"); }