DragAndDropManager.st
changeset 2093 d29474de6ab5
parent 2091 0fdd1265fd82
child 2133 0581d9906df0
--- a/DragAndDropManager.st	Fri Jan 27 11:32:12 2006 +0100
+++ b/DragAndDropManager.st	Mon Jan 30 09:29:46 2006 +0100
@@ -1274,7 +1274,7 @@
 "/            dropContext targetWidget requestFocus    
 "/        ].
 "/    ].
-    targetWidget notNil ifTrue:[
+    (targetWidget notNil and:[targetWidget shown]) ifTrue:[
         targetWidget topView setForegroundWindow; activate.
         targetWidget takeFocus.    
     ].
@@ -1569,7 +1569,7 @@
 !DragAndDropManager class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/DragAndDropManager.st,v 1.68 2006-01-24 16:52:17 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/DragAndDropManager.st,v 1.69 2006-01-30 08:29:46 cg Exp $'
 ! !
 
 DragAndDropManager initialize!