#REFACTORING by stefan
class: Image
changed: #fromScreen:on:grab:
class: Image class
changed: #fromScreen
--- a/Image.st Wed Feb 26 17:05:17 2020 +0100
+++ b/Image.st Wed Feb 26 17:06:57 2020 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
COPYRIGHT (c) 1991 by Claus Gittinger
All Rights Reserved
@@ -2460,7 +2462,7 @@
display := Screen current.
- bounds := 0@0 corner:(Screen monitorRealResolutionByPoint:0@0). "/ use the center monitor
+ bounds := 0@0 corner:(display monitorRealResolutionByPoint:0@0). "/ use the center monitor
OperatingSystem isOSXlike ifTrue:[
"/ sigh: XQuartz does not include the dock
@@ -16686,7 +16688,7 @@
[
self
from:rootView
- in:(Screen
+ in:(Screen current
convertVirtualResolutionRectangleToCurrentResolutionRectangle:aRectangle).
] ensure:[
doGrab ifTrue:[