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
This commit is contained in:
Michael R Sweet 2002-04-24 12:20:36 +00:00
parent c90c981570
commit a89ca324a4
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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 $".
//