Don't lose track of timeline focus when window loses focus.
This commit is contained in:
parent
b1b879dcad
commit
8545b82b49
|
@ -338,6 +338,9 @@ Sequence::handle ( int m )
|
||||||
/* garbage from overlay window */
|
/* garbage from overlay window */
|
||||||
return 0;
|
return 0;
|
||||||
case FL_FOCUS:
|
case FL_FOCUS:
|
||||||
|
Fl_Widget::handle( m );
|
||||||
|
redraw();
|
||||||
|
return 1;
|
||||||
case FL_UNFOCUS:
|
case FL_UNFOCUS:
|
||||||
Fl_Widget::handle( m );
|
Fl_Widget::handle( m );
|
||||||
redraw();
|
redraw();
|
||||||
|
|
|
@ -1121,10 +1121,6 @@ Timeline::handle ( int m )
|
||||||
|
|
||||||
switch ( m )
|
switch ( m )
|
||||||
{
|
{
|
||||||
case FL_FOCUS:
|
|
||||||
case FL_UNFOCUS:
|
|
||||||
// redraw();
|
|
||||||
return 1;
|
|
||||||
case FL_ENTER:
|
case FL_ENTER:
|
||||||
return 1;
|
return 1;
|
||||||
case FL_LEAVE:
|
case FL_LEAVE:
|
||||||
|
|
Loading…
Reference in New Issue