Author: AlbrechtS
Date: 2011-04-20 07:34:53 -0700 (Wed, 20 Apr 2011)
New Revision: 8615
Log:
Reverted changes done in svn r 7788 for STR #2420 ("Tab-Navigation focuses
non-active_r() widgets"). This must be investigated further, and if necessary,
solved differently. STR #2420 will be reopened...


Modified:
   branches/branch-1.3/CHANGES
   branches/branch-1.3/FL/Fl_Widget.H

Modified: branches/branch-1.3/CHANGES
===================================================================
--- branches/branch-1.3/CHANGES 2011-04-20 14:12:14 UTC (rev 8614)
+++ branches/branch-1.3/CHANGES 2011-04-20 14:34:53 UTC (rev 8615)
@@ -165,7 +165,6 @@
        - Fixed Unicode support for Fl_Text_* widgets
        - Fixed menu and shortcut handling (STR #2243)
        - Fixed fltk-config to give --libs on one line (STR #2408)
-       - Fixed tab key navigation to inactive widgets (STR #2420)
        - Fixed outside label redraw damage areas (STR #2436)
        - Fixed compile errors when HAVE_LIBJPEG was not defined 
          (STR #2382)

Modified: branches/branch-1.3/FL/Fl_Widget.H
===================================================================
--- branches/branch-1.3/FL/Fl_Widget.H  2011-04-20 14:12:14 UTC (rev 8614)
+++ branches/branch-1.3/FL/Fl_Widget.H  2011-04-20 14:34:53 UTC (rev 8615)
@@ -752,9 +752,7 @@
       && visible()) but is faster.
       \retval 0 if the widget takes no events
    */ 
-  unsigned int takesevents() const {
-    return !output() && active_r() && visible_r();
-  }
+  unsigned int takesevents() const {return 
!(flags_&(INACTIVE|INVISIBLE|OUTPUT));}
 
   /** 
       Checks if the widget value changed since the last callback.

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

Reply via email to