Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.1160.mcz==================== Summary ====================
Name: System-mt.1160
Author: mt
Time: 17 May 2020, 4:49:45.301947 pm
UUID: eec72432-59e2-e643-9fb6-f4be6facc6ef
Ancestors: System-mt.1159
Complements Graphics-mt.433
=============== Diff against System-mt.1159 ===============
Item was changed:
----- Method: Project>>imageFormOfSize:depth: (in category 'displaying') -----
imageFormOfSize: extentPoint depth: d
+
+ | currentDisplay temporaryDisplay |
+ currentDisplay := Display.
+ temporaryDisplay := DisplayScreen extent: extentPoint depth: d.
+ [Display := temporaryDisplay. self invalidate; restore]
+ ensure: [Display := currentDisplay].
+ ^ temporaryDisplay!
- | newDisplay |
- newDisplay := DisplayScreen extent: extentPoint depth: d.
- Display replacedBy: newDisplay do:[self invalidate; restore].
- ^newDisplay!