The Trunk: Graphics-mt.361.mcz

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

The Trunk: Graphics-mt.361.mcz

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

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

Name: Graphics-mt.361
Author: mt
Time: 19 August 2016, 6:17:07.079803 pm
UUID: 52823a41-bcec-cb4e-8375-c800e2d26392
Ancestors: Graphics-mt.360

Fixes workaround for misbehaving HostWindowPlugins.

=============== Diff against Graphics-mt.360 ===============

Item was changed:
  ----- Method: DisplayScreen class>>setNewScreenSize: (in category 'display box access') -----
  setNewScreenSize: aPoint
  "Ensure that the Display is set to the given extent."
 
  self hostWindowExtent: aPoint.
  self checkForNewScreenSize.
 
  "In the Windows version of the host window plugin, the extent currently includes window decorations. Therefore, we need two attempts to ensure that the Display extent is aPoint. Note that this is a bug in the plugin."
+ (Display extent x < aPoint x or: [Display extent y < aPoint y]) ifTrue: [
- Display extent < aPoint ifTrue: [
  self hostWindowExtent: 2*aPoint - Display extent.
  self checkForNewScreenSize].!