#OTHER by stefan
authorStefan Vogel <sv@exept.de>
Sat, 23 Jul 2016 20:24:30 +0200
changeset 7461 b4da8d7a1363
parent 7460 d6fb7221d01e
child 7462 3bcd29332df8
#OTHER by stefan class: GraphicsMedium changed: #copyFrom:x:y:toX:y:width:height:async: Fix waitForExpose while dragging
GraphicsMedium.st
--- a/GraphicsMedium.st	Sat Jul 23 19:52:29 2016 +0200
+++ b/GraphicsMedium.st	Sat Jul 23 20:24:30 2016 +0200
@@ -1382,13 +1382,12 @@
     ] ifFalse:[
         deviceDrawable := aDrawable
     ].
-    asy := async or:[self isView not].
+    asy := async or:[aDrawable isForm or:[self isView not]].
     asy ifFalse:[
         self catchExpose
     ].
     gc copyFrom:deviceDrawable graphicsContext x:srcX y:srcY toX:dstX y:dstY width:w height:h depth:self depth.
     asy ifFalse:[
-        device flush.
         self waitForExpose
     ]
 !