on.quit = function() if Saved_screen then -- snapshot_canvas in progress; restore real window dimensions before saving them to config App.screen.width,App.screen.height = Saved_screen.w, Saved_screen.h end end