From 1f39ef03234c876f8d77353883664eca6b0ceee0 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 15 May 2002 23:12:30 +0000 Subject: Fixed menu problem - FL_MOVE/DRAG processing stopped before sending the events when pushed() was set... Also allow FL_MOVE and FL_DRAG in menu handler()... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2230 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Fl.cxx') diff --git a/src/Fl.cxx b/src/Fl.cxx index e2d34b307..2cd6c99f2 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl.cxx,v 1.24.2.41.2.30 2002/05/15 16:37:06 spitzak Exp $" +// "$Id: Fl.cxx,v 1.24.2.41.2.31 2002/05/15 23:12:30 easysw Exp $" // // Main event handling code for the Fast Light Tool Kit (FLTK). // @@ -585,7 +585,6 @@ int Fl::handle(int event, Fl_Window* window) if (pushed()) { w = pushed(); e_number = event = FL_DRAG; - break; } if (modal() && w != modal()) w = 0; if (grab()) w = grab(); @@ -899,5 +898,5 @@ void Fl_Window::flush() { } // -// End of "$Id: Fl.cxx,v 1.24.2.41.2.30 2002/05/15 16:37:06 spitzak Exp $". +// End of "$Id: Fl.cxx,v 1.24.2.41.2.31 2002/05/15 23:12:30 easysw Exp $". // -- cgit v1.2.3