wok diff dillo/stuff/fltk-1.3.3.u @ rev 20574
Get zfs-fuse tarball from archive.org
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 13 15:52:42 2018 +0100 (2018-12-13) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dillo/stuff/fltk-1.3.3.u Thu Dec 13 15:52:42 2018 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +--- dw/fltkviewbase.cc 1.5 ++++ dw/fltkviewbase.cc 1.6 +@@ -27,8 +27,6 @@ 1.7 + #include <stdio.h> 1.8 + #include "../lout/msg.h" 1.9 + 1.10 +-extern Fl_Widget* fl_oldfocus; 1.11 +- 1.12 + using namespace lout::object; 1.13 + using namespace lout::container::typed; 1.14 + 1.15 +@@ -364,7 +362,9 @@ 1.16 + } 1.17 + return 1; 1.18 + case FL_UNFOCUS: 1.19 +- focused_child = fl_oldfocus; 1.20 ++ //focused_child = fl_oldfocus; 1.21 ++ for (Fl_Widget *p = this; p; p = p->parent()) 1.22 ++ focused_child = p; 1.23 + return 0; 1.24 + case FL_KEYBOARD: 1.25 + if (Fl::event_key() == FL_Tab)