From a89ca324a4ba7817be73b71e41c4bb0819dfc3ad Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 24 Apr 2002 12:20:36 +0000 Subject: Fix a recursion bug in the tooltip code - didn't need to grab(), but might need to add the set_override() method to the 1.1 window classes... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2104 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CHANGES | 2 ++ src/Fl_Tooltip.cxx | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 2656e8e22..d13276871 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,7 @@ CHANGES IN FLTK 1.1.0rc1 + - Fixed a recursion bug in tooltips that was causing + random crashes. - fl_file_chooser() could cause a segfault when passed a NULL filename parameter in some situations. - Added a "-g" option to fltk-config to support quick diff --git a/src/Fl_Tooltip.cxx b/src/Fl_Tooltip.cxx index 32b689333..607f10588 100644 --- a/src/Fl_Tooltip.cxx +++ b/src/Fl_Tooltip.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Tooltip.cxx,v 1.38.2.13 2002/04/14 20:49:06 easysw Exp $" +// "$Id: Fl_Tooltip.cxx,v 1.38.2.14 2002/04/24 12:20:36 easysw Exp $" // // Tooltip source file for the Fast Light Tool Kit (FLTK). // @@ -212,9 +212,7 @@ Fl_Tooltip::tooltip_timeout(void *v) { if (widgetWindow) { // puts("Showing tooltip"); - Fl::grab(*widgetWindow); window->show(); - Fl::release(); shown = 1; } else { widget = 0; @@ -223,5 +221,5 @@ Fl_Tooltip::tooltip_timeout(void *v) { // -// End of "$Id: Fl_Tooltip.cxx,v 1.38.2.13 2002/04/14 20:49:06 easysw Exp $". +// End of "$Id: Fl_Tooltip.cxx,v 1.38.2.14 2002/04/24 12:20:36 easysw Exp $". // -- cgit v1.2.3