Fix tooltip handling/flashing that caused KDE window manager lockups

with the FLUID main window.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2001-10-18 00:24:19 +00:00
parent f986d0df7e
commit 8638a3f5a5
2 changed files with 7 additions and 3 deletions

View File

@ -20,6 +20,10 @@ CHANGES IN FLTK 1.1.0b4
- Miscellaneous compile warning fixes.
- Tooltips were being reset by Fl::belowmouse(), which
caused problems with the FLUID main window (flashing
tooltip windows and serious problems with KDE 2.2)
CHANGES IN FLTK 1.1.0b3

View File

@ -1,5 +1,5 @@
//
// "$Id: Fl.cxx,v 1.24.2.41.2.3 2001/08/02 20:09:25 easysw Exp $"
// "$Id: Fl.cxx,v 1.24.2.41.2.4 2001/10/18 00:24:19 easysw Exp $"
//
// Main event handling code for the Fast Light Tool Kit (FLTK).
//
@ -391,9 +391,9 @@ void Fl::focus(Fl_Widget *o) {
void Fl::belowmouse(Fl_Widget *o) {
if (grab()) return; // don't do anything while grab is on
Fl_Tooltip::enter(o);
Fl_Widget *p = belowmouse_;
if (o != p) {
Fl_Tooltip::enter(o);
belowmouse_ = o;
for (; p && !p->contains(o); p = p->parent()) p->handle(FL_LEAVE);
}
@ -790,5 +790,5 @@ void Fl_Window::flush() {
}
//
// End of "$Id: Fl.cxx,v 1.24.2.41.2.3 2001/08/02 20:09:25 easysw Exp $".
// End of "$Id: Fl.cxx,v 1.24.2.41.2.4 2001/10/18 00:24:19 easysw Exp $".
//