Bugfix: screen mode is now always correctly set when exiting the desktop.
Detail: When the last task closes, the Wimp tries to change to the configured screen mode (as determined using OS_ReadSysInfo 1). However, the Wimp was using VDU 22,x to set the screen mode, so results were undefined when the default screen mode was a pointer to a mode selector. The Wimp now uses OS_ScreenMode to change mode (except on RISC OS 3.1 builds where the SWI is not available). Admin: Not tested. Version 4.51. Tagged as 'Wimp-4_51'
Showing with 17 additions and 11 deletions