From c468a521b012b87914030a45f0fdced1be87de67 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 14 Jun 2006 10:48:36 +0000 Subject: STR #1321: Calling Fl_Window::show() will exit from the current Fl_Tooltip. Changing window order or creating a new window is a pretty major action, so temporarily disabeling Tooltips seems beneficial. This avoids Tooltips interfering with popup menus. Of course, poping up a tooltip window does *not* disable further tooltips... . git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_mac.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Fl_mac.cxx') diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx index 0a667a461..a943fd46f 100644 --- a/src/Fl_mac.cxx +++ b/src/Fl_mac.cxx @@ -56,6 +56,7 @@ extern "C" { #include #include #include +#include #include #include #include @@ -1972,6 +1973,7 @@ void Fl_Window::show() { } else { labeltype(FL_NO_LABEL); } + Fl_Tooltip::exit_(this); if (!shown() || !i) { Fl_X::make(this); } else { -- cgit v1.2.3