mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
* fix incorrect window destroy * remove duplicate common signals * Better handling of "shouldclose" * Better handling of "shouldclose" * Fix ABI safety issues in exported function for macOS window closing Address CodeRabbit feedback on ABI safety and data races: - Change exported function signature to use C types (C.uint, C.bool) for ABI safety - Convert unconditionallyClose field from bool to atomic uint32 for thread safety - Update all read/write operations to use atomic operations across platforms 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| defaults.go | ||
| events.go | ||
| events.h | ||
| events.txt | ||
| events_darwin.go | ||
| events_darwin.h | ||
| events_linux.go | ||
| events_linux.h | ||
| README.md | ||
Events
This package is used to generate the event management code and to allow quick addition of events.
Usage
- Add events to
events.txt - Run
task generate:events
Notes
For events that you want to handle manually, add a ! to the end of the event name and
add custom code into the appropriate platform. See this PR
for an example of how to do this.