diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-07-30 18:40:50 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-07-30 18:40:50 +0000 |
| commit | 7038a9eeaecf345fb1fe22b43853b78cbf6ac6f2 (patch) | |
| tree | 1900edd67e123383b987ec25ebeb26b9fe46b2e4 /src/Fl_Group.cxx | |
| parent | 9456baab50e8937d9a843a362847d589958694f9 (diff) | |
Send FL_LEAVE events before FL_ENTER events.
Only change the cursor when the widget is activated.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2559 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Group.cxx')
| -rw-r--r-- | src/Fl_Group.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx index 1c9b36620..7310fa8f3 100644 --- a/src/Fl_Group.cxx +++ b/src/Fl_Group.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Group.cxx,v 1.8.2.8.2.16 2002/07/14 17:03:31 easysw Exp $" +// "$Id: Fl_Group.cxx,v 1.8.2.8.2.17 2002/07/30 18:40:50 easysw Exp $" // // Group widget for the Fast Light Tool Kit (FLTK). // @@ -168,9 +168,9 @@ int Fl_Group::handle(int event) { if (o->visible() && Fl::event_inside(o)) { if (o->contains(Fl::belowmouse())) { return send(o,FL_MOVE); - } else if (send(o,FL_ENTER)) { + } else { if (!o->contains(Fl::belowmouse())) Fl::belowmouse(o); - return 1; + if (send(o,FL_ENTER)) return 1; } } } @@ -587,5 +587,5 @@ void Fl_Group::draw_outside_label(const Fl_Widget& w) const { } // -// End of "$Id: Fl_Group.cxx,v 1.8.2.8.2.16 2002/07/14 17:03:31 easysw Exp $". +// End of "$Id: Fl_Group.cxx,v 1.8.2.8.2.17 2002/07/30 18:40:50 easysw Exp $". // |
