diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-13 16:24:56 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-13 16:24:56 +0300 |
| commit | ed963bba0b234d52fda14b2a8237dbf02ef4d655 (patch) | |
| tree | 0c7bd51ff01089fbc810f94a55e0adb94084478e /README.md | |
| parent | 4a61a0f8a749831b74aca04302a30ebbbb6f5586 (diff) | |
Quit on window close when the app has no event callback
Without yasl_app_desc.event, a close request had nowhere to go and the
window stayed open. The runner now stops instead, so hello drops its
event callback.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ explicit backend with `yasl_display_spec.backend`. Include `<yasl/app.h>` and pass application callbacks to `yasl_run()`. The complete [hello.c](examples/hello.c) describes its window in -`yasl_app_desc.window`, handles close requests in `event`, and fills every pixel +`yasl_app_desc.window`, lets the runner quit when it is closed, and fills every pixel in its frame callback: ```c |
