changeset 2121:43738cf4287a

avoid a lingering tooltip from the StatusBar (Bugmeter)
author Jorge Arellano Cid <jcid@dillo.org>
date So, 10 Jul 2011 17:44:45 -0400
parents 9482fb83d185
children 8d3f28ad46c4
files src/ui.cc
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui.cc	So Jul 10 12:30:08 2011 -0400
+++ b/src/ui.cc	So Jul 10 17:44:45 2011 -0400
@@ -790,7 +790,8 @@
        * extra call avoids the lingering tooltip. */
       if (Fl::event_inside(NavBar) ||
           (LocBar && Fl::event_inside(LocBar)) ||
-          (MenuBar && Fl::event_inside(MenuBar)))
+          (MenuBar && Fl::event_inside(MenuBar)) ||
+          (StatusBar && Fl::event_inside(StatusBar)))
          window()->damage(FL_DAMAGE_EXPOSE,0,0,1,1);
 
       return 0; // Receive as shortcut