The source project of this merge request has been removed.
Fix for crash when task closed with a menu still open holding the input focus
If a task has an open menu with a submenu or dialogue open, holding the caret, and this task is closed, not all windows owned are correctly deleted. This leads to a crash at the next poll when those windows are next redrawn. Fix - preserve R7 across int_set_caret calls