Mac OS: Fixed bug where an application could be left with only a tooltip window opened.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8599 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy
2011-04-17 19:58:31 +00:00
parent d77223ea58
commit 8f59684c0f
+1 -1
View File
@@ -2112,7 +2112,7 @@ void Fl_X::make(Fl_Window* w)
if (w->size_range_set) w->size_range_();
if (!w->modal() || w->border()) {
if ( (!w->modal() || w->border()) && !w->tooltip_window()) {
Fl_Tooltip::enter(0);
}
[cw makeKeyAndOrderFront:nil];