Skip to content

Commit

Permalink
Fix tooltip handling/flashing that caused KDE window manager lockups
Browse files Browse the repository at this point in the history
with the FLUID main window.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
michaelrsweet committed Oct 18, 2001
1 parent f986d0d commit 8638a3f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGES
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions src/Fl.cxx
@@ -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).
//
Expand Down Expand Up @@ -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);
}
Expand Down Expand Up @@ -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 $".
//

0 comments on commit 8638a3f

Please sign in to comment.