| Summary: | Tyler visualisation window can't be closed | ||
|---|---|---|---|
| Product: | [Unmaintained] noatun | Reporter: | Moritz Moeller-Herrmann <moritz-kdebugs> |
| Component: | general | Assignee: | Neil Stevens <neil> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | charles |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Moritz Moeller-Herrmann
2003-04-09 17:50:35 UTC
SDL's QUIT event isn't handled I tried to modify the code so it would be, but then it just stops randomly :( I don't know what voodoo is going on that this happens. Maybe it's the SIGPIPE? -Charles I don't know what the plugin should do if you try to close it. Does libnoatun give a way for plugins to unload themselves? Well, according to the code, if the child process exits, the plugin unloads itself (with
Plugin::unload(), in fact :)
in check_events() (renderer.c), add:
if (event.type == SDL_QUIT)
{
finished = 1;
return;
}
immediately after:
SDL_PollEvent(&event);
And you'll see what I mean. It just gets that SDL_QUIT event out of nowhere.
Fixed in CVS, fix will appear in KDE 3.3 |