wok-6.x annotate dillo/stuff/fltk-1.3.3.u @ rev 21738
clementine: added libatomic to BUILD_DEPENDS
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 13 17:49:58 2019 +0100 (2019-06-13) |
parents | |
children |
rev | line source |
---|---|
pascal@19446 | 1 --- dw/fltkviewbase.cc |
pascal@19446 | 2 +++ dw/fltkviewbase.cc |
pascal@19446 | 3 @@ -27,8 +27,6 @@ |
pascal@19446 | 4 #include <stdio.h> |
pascal@19446 | 5 #include "../lout/msg.h" |
pascal@19446 | 6 |
pascal@19446 | 7 -extern Fl_Widget* fl_oldfocus; |
pascal@19446 | 8 - |
pascal@19446 | 9 using namespace lout::object; |
pascal@19446 | 10 using namespace lout::container::typed; |
pascal@19446 | 11 |
pascal@19446 | 12 @@ -364,7 +362,9 @@ |
pascal@19446 | 13 } |
pascal@19446 | 14 return 1; |
pascal@19446 | 15 case FL_UNFOCUS: |
pascal@19446 | 16 - focused_child = fl_oldfocus; |
pascal@19446 | 17 + //focused_child = fl_oldfocus; |
pascal@19446 | 18 + for (Fl_Widget *p = this; p; p = p->parent()) |
pascal@19446 | 19 + focused_child = p; |
pascal@19446 | 20 return 0; |
pascal@19446 | 21 case FL_KEYBOARD: |
pascal@19446 | 22 if (Fl::event_key() == FL_Tab) |