The Trunk: Morphic-mt.1172.mcz

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

The Trunk: Morphic-mt.1172.mcz

commits-2
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1172.mcz

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

Name: Morphic-mt.1172
Author: mt
Time: 9 June 2016, 5:49:44.914737 pm
UUID: 7edaede6-4c07-6d4c-86da-80fa395b8d3c
Ancestors: Morphic-mt.1171

Minor performance improvement by avoiding unnecessary focus look cycling for already focused windows. Affects mouse-down interactions.

=============== Diff against Morphic-mt.1171 ===============

Item was changed:
  ----- Method: SystemWindow>>updateFocusLookForKeyboardFocus (in category 'focus') -----
  updateFocusLookForKeyboardFocus
 
  | f w |
  (((f := self activeHand keyboardFocus) notNil and: [(w := f containingWindow) notNil])
  and: [w isActive])
  ifTrue: [
+ (self class windowsIn: self world) do: [:window |
+ w ~~ window ifTrue: [window lookUnfocused]].
- (self class windowsIn: self world) do: [:window | window lookUnfocused].
  w lookFocused]!