Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-mt.336.mcz==================== Summary ====================
Name: Graphics-mt.336
Author: mt
Time: 12 May 2016, 9:38:38.58863 am
UUID: 01f5f8b2-0ae6-f040-aa5f-848b34cfd3ae
Ancestors: Graphics-dtl.335
Use host window extent to calculate the new screen size.
=============== Diff against Graphics-dtl.335 ===============
Item was changed:
----- Method: DisplayScreen class>>setNewScreenSize: (in category 'display box access') -----
setNewScreenSize: aPoint
+ "Ensure that the Display is set to the given extent. Due to the behavior of host-window plugin, we may have to account for host window shadows and title bars."
- "Ensure that the Display is set to the given extent. Due to the behavior of host-window plugin, this may need two attempts because the plugin tends to account for host window shadows and title bars."
+ self hostWindowExtent: aPoint + self hostWindowExtent - self actualScreenSize.
+ self checkForNewScreenSize.!
- self hostWindowExtent: aPoint.
- self checkForNewScreenSize.
-
- Display extent < aPoint ifTrue: [
- self hostWindowExtent: 2*aPoint - Display extent.
- self checkForNewScreenSize].!