From 7038a9eeaecf345fb1fe22b43853b78cbf6ac6f2 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 30 Jul 2002 18:40:50 +0000 Subject: 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 --- src/Fl_Group.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Fl_Group.cxx') 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 $". // -- cgit v1.2.3