diff options
| author | Bill Spitzak <spitzak@gmail.com> | 2002-05-16 07:43:59 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 2002-05-16 07:43:59 +0000 |
| commit | 8fd4b107da21c3e9a89bb9e81b2a61eb2bd0f3dd (patch) | |
| tree | dd1f4defd3b2dc74afd8c36efdf57d9882fd34ec /src/Fl.cxx | |
| parent | af1ec00483000fe92ad902a599779863f42b1e17 (diff) | |
Slight change to menu fix so that events only go to the grab() widget.
Changed Win32 dnd slightly so a [+] cursor is used instead of the link one.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2235 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl.cxx')
| -rw-r--r-- | src/Fl.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index 2cd6c99f2..6c2dc96a7 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl.cxx,v 1.24.2.41.2.31 2002/05/15 23:12:30 easysw Exp $" +// "$Id: Fl.cxx,v 1.24.2.41.2.32 2002/05/16 07:43:59 spitzak Exp $" // // Main event handling code for the Fast Light Tool Kit (FLTK). // @@ -584,7 +584,9 @@ int Fl::handle(int event, Fl_Window* window) fl_xmousewin = window; // this should already be set, but just in case. if (pushed()) { w = pushed(); + if (grab()) w = grab(); e_number = event = FL_DRAG; + break; } if (modal() && w != modal()) w = 0; if (grab()) w = grab(); @@ -898,5 +900,5 @@ void Fl_Window::flush() { } // -// End of "$Id: Fl.cxx,v 1.24.2.41.2.31 2002/05/15 23:12:30 easysw Exp $". +// End of "$Id: Fl.cxx,v 1.24.2.41.2.32 2002/05/16 07:43:59 spitzak Exp $". // |
