diff options
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | FL/Fl_Widget.H | 4 |
2 files changed, 1 insertions, 4 deletions
@@ -165,7 +165,6 @@ CHANGES IN FLTK 1.3.0 - 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) diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H index 3ef78fb2a..4d6ec528e 100644 --- a/FL/Fl_Widget.H +++ b/FL/Fl_Widget.H @@ -752,9 +752,7 @@ public: && 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. |
