diff options
Diffstat (limited to 'src/Fl_Menu_global.cxx')
| -rw-r--r-- | src/Fl_Menu_global.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Fl_Menu_global.cxx b/src/Fl_Menu_global.cxx index 032c27375..24be52073 100644 --- a/src/Fl_Menu_global.cxx +++ b/src/Fl_Menu_global.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Menu_global.cxx,v 1.5.2.1 2000/04/25 22:16:28 mike Exp $" +// "$Id: Fl_Menu_global.cxx,v 1.5.2.2 2000/05/13 20:03:18 bill Exp $" // // Global menu shortcut code for the Fast Light Tool Kit (FLTK). // @@ -34,6 +34,7 @@ static Fl_Menu_* the_widget; static int handler(int e) { if (e != FL_SHORTCUT || Fl::modal()) return 0; + Fl::first_window(the_widget->window()); return the_widget->handle(e); } @@ -43,5 +44,5 @@ void Fl_Menu_::global() { } // -// End of "$Id: Fl_Menu_global.cxx,v 1.5.2.1 2000/04/25 22:16:28 mike Exp $". +// End of "$Id: Fl_Menu_global.cxx,v 1.5.2.2 2000/05/13 20:03:18 bill Exp $". // |
