Author: manolo
Date: 2011-05-01 13:02:47 -0700 (Sun, 01 May 2011)
New Revision: 8631
Log:
Fix STR #2616. This is a very indirect consequence of the fix made for STR #2594
that allowed to set the focus to an Fl_Window.

Modified:
   branches/branch-1.3/src/Fl_Menu.cxx

Modified: branches/branch-1.3/src/Fl_Menu.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Menu.cxx 2011-05-01 12:45:29 UTC (rev 8630)
+++ branches/branch-1.3/src/Fl_Menu.cxx 2011-05-01 20:02:47 UTC (rev 8631)
@@ -949,10 +949,10 @@
     }
   }
   const Fl_Menu_Item* m = pp.current_item;
-  Fl::grab(0);
   delete pp.fakemenu;
   while (pp.nummenus>1) delete pp.p[--pp.nummenus];
   mw.hide();
+  Fl::grab(0);
   return m;
 }
 

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to