wok view dillo/stuff/fltk-1.3.3.u @ rev 20085
also update libssl: from: 1.0.2k [26 Jan 2017] to 1.0.2l [25 May 2017], see: http://hg.slitaz.org/wok/rev/90fcaa823068
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Sep 27 22:18:42 2017 +0000 (2017-09-27) |
parents | |
children |
line source
1 --- dw/fltkviewbase.cc
2 +++ dw/fltkviewbase.cc
3 @@ -27,8 +27,6 @@
4 #include <stdio.h>
5 #include "../lout/msg.h"
7 -extern Fl_Widget* fl_oldfocus;
8 -
9 using namespace lout::object;
10 using namespace lout::container::typed;
12 @@ -364,7 +362,9 @@
13 }
14 return 1;
15 case FL_UNFOCUS:
16 - focused_child = fl_oldfocus;
17 + //focused_child = fl_oldfocus;
18 + for (Fl_Widget *p = this; p; p = p->parent())
19 + focused_child = p;
20 return 0;
21 case FL_KEYBOARD:
22 if (Fl::event_key() == FL_Tab)