Disable tooltips when window is not in foreground
Running the cursor over a tooltip in a background window brings that window to
the fromt (in order to show the tooltip). That action is often unwanted and
bothersome. Tooltips should be disabled in background windows.
Updated by Dan Higgins almost 19 years ago
When a MorphoFrame is Deactivated, a GlassPane for the window is made visible.
This glass pane captures Mouse events and keeps the tooltips in deactivated
windows from appearing. When the Frame is activated, the GlassPane is made
invisible, so tooltips appear in the foremost window.