'From etoys4.0 of 9 October 2008 [latest update: #2319] on 29 September 2009 at 1:16:32 am'! "Change Set: deferEvents-bf Date: 29 September 2009 Author: Bert Freudenberg Defer event handling to after startup. This is because when launching Etoys with a project on the Mac, the VM creates a drop event, entering which terminates the startup sequence prematurely."! !PasteUpMorph class methodsFor: 'system startup' stamp: 'generated 9/29/2009 01:13'! startUp World ifNotNil:[ "Don't process events, yet. In particular, entering a dropped project would terminate the startup (happend on the Mac)" | events evt | events := OrderedCollection new. [(evt := Sensor nextEvent) isNil] whileFalse: [events add: evt]. World restoreMorphicDisplay. World triggerEvent: #aboutToEnterWorld. World doOneCycleNow. events do: [:each | Sensor queueEvent: each]. ]. ! !