This is a little Shell program which patches CloseScreen() so that it can never
fail for public screens. If closing would fail (usually due to a foreign
'visitor' window) then it waits one second & tries again, until it succeeds.
I wrote this patch because Ringhio notifications (e.g. from TuneNet) seem to
prevent most Amiga programs from closing their screen (including all MUI ones!),
because they wrongly assume the screen closed correctly.
Changes for this release:
* Programs using CloseScreen(NULL) will no-longer crash. Thanks to Chris Young
for the bug report.
* Quitting with Ctrl-C will now abort any CloseScreen() calls that have gotten
stuck waiting for the screen to close.
* Refactored the patching code into a separate reusable module. :-)
| |