Skip to content

refactor(core)!: Window::close triggers RunEvent::CloseRequested#8710

Merged
lucasfernog merged 11 commits intodevfrom
refactor/window-close
Jan 31, 2024
Merged

refactor(core)!: Window::close triggers RunEvent::CloseRequested#8710
lucasfernog merged 11 commits intodevfrom
refactor/window-close

Conversation

@lucasfernog
Copy link
Copy Markdown
Member

@lucasfernog lucasfernog commented Jan 30, 2024

The Window::close function now triggers the close requested event so devs can intercept it. To force close a window (previous behavior), use Window::destroy instead.

@lucasfernog lucasfernog requested a review from a team as a code owner January 30, 2024 15:26
Comment thread .changes/runtime-wry-window-close-event.md Outdated
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
amrbashir
amrbashir previously approved these changes Jan 30, 2024
@lucasfernog
Copy link
Copy Markdown
Member Author

Gonna work on adding the destroy API here too

@lucasfernog-crabnebula
Copy link
Copy Markdown
Contributor

@amrbashir @FabianLars updated with the destroy API

amrbashir
amrbashir previously approved these changes Jan 31, 2024
@lucasfernog lucasfernog merged commit af61023 into dev Jan 31, 2024
@lucasfernog lucasfernog deleted the refactor/window-close branch January 31, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants