Author: manolo
Date: 2011-02-06 06:48:36 -0800 (Sun, 06 Feb 2011)
New Revision: 8392
Log:
Fix for STR #2552: focus was lost from within a tab when back from visiting 
another window.

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

Modified: branches/branch-1.3/src/Fl_Tabs.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Tabs.cxx 2011-02-06 14:46:40 UTC (rev 8391)
+++ branches/branch-1.3/src/Fl_Tabs.cxx 2011-02-06 14:48:36 UTC (rev 8392)
@@ -217,6 +217,10 @@
        Fl::event() == FL_FOCUS ||
        Fl::event() == FL_UNFOCUS) {
       redraw_tabs();
+#ifndef __APPLE__
+      // fix for STR #2552
+      if (Fl::event() == FL_FOCUS) return Fl_Group::handle(event);
+#endif
       if (Fl::event() == FL_FOCUS || Fl::event() == FL_UNFOCUS) return 0;
       else return 1;
     } else return Fl_Group::handle(event);

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

Reply via email to