The Inbox: MorphicExtras-ct.278.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: MorphicExtras-ct.278.mcz

commits-2
Christoph Thiede uploaded a new version of MorphicExtras to project The Inbox:
http://source.squeak.org/inbox/MorphicExtras-ct.278.mcz

==================== Summary ====================

Name: MorphicExtras-ct.278
Author: ct
Time: 29 February 2020, 1:40:57.429872 pm
UUID: 2ef847db-ba40-2e49-bafb-2e8672aafc6b
Ancestors: MorphicExtras-mt.271

Complements Morphic-ct.1636 (protection against event-handling errors)

Why is this not in Morphic?

=============== Diff against MorphicExtras-mt.271 ===============

Item was changed:
  ----- Method: WorldState>>doOneCycleInBackground (in category '*MorphicExtras-update cycle') -----
  doOneCycleInBackground
  "Do one cycle of the interactive loop. This method is called repeatedly when this world is not the active window but is running in the background."
 
  self halt. "not ready for prime time"
 
  "process user input events, but only for remote hands"
  self handsDo: [:h |
  (h isKindOf: RemoteHandMorph) ifTrue: [
  ActiveHand := h.
+ self processEventsSafely: h.
- h processEvents.
  ActiveHand := nil]].
 
  self runStepMethods.
  self displayWorldSafely.
  !