suppress tooltip for inactive (lower) windows
authorClaus Gittinger <cg@exept.de>
Thu, 22 May 2008 13:16:25 +0200
changeset 2477 b009e0b51999
parent 2476 7fa9e8576594
child 2478 d0bf6625a071
suppress tooltip for inactive (lower) windows
FlyByHelp.st
--- a/FlyByHelp.st	Mon May 19 21:22:32 2008 +0200
+++ b/FlyByHelp.st	Thu May 22 13:16:25 2008 +0200
@@ -62,6 +62,9 @@
 
 buttonMotion:buttonAndModifierState x:x y:y view:aView
     aView == currentHelpView ifTrue:[^ false].
+    "/ dont start tooltip, if this view is not active
+    aView topView isActive ifFalse:[^ false].
+
     ^ super buttonMotion:buttonAndModifierState x:x y:y view:aView
 !
 
@@ -291,7 +294,7 @@
 !FlyByHelp class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/FlyByHelp.st,v 1.16 2008-05-19 19:16:58 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/FlyByHelp.st,v 1.17 2008-05-22 11:16:25 cg Exp $'
 ! !
 
 FlyByHelp initialize!