--- a/Image.st Fri Dec 20 17:21:58 2019 +0100
+++ b/Image.st Fri Dec 20 18:23:41 2019 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
"
COPYRIGHT (c) 1991 by Claus Gittinger
All Rights Reserved
@@ -2462,14 +2460,14 @@
display := Screen current.
- bounds := 0@0
- corner:(Screen
- monitorRealResolutionByPoint:0@0). "/ use the center monitor
+ bounds := 0@0 corner:(Screen monitorRealResolutionByPoint:0@0). "/ use the center monitor
OperatingSystem isOSXlike ifTrue:[
"/ sigh: XQuartz does not include the dock
display == Display ifTrue:[
- bounds := OperatingSystem getScreenBounds:0
+ PrimitiveFailure catch:[
+ bounds := OperatingSystem getScreenBounds:0
+ ].
].
].