Don't lose track of timeline focus when window loses focus.

pull/3/head
Jonathan Moore Liles 2008-07-20 22:29:29 -05:00
parent b1b879dcad
commit 8545b82b49
2 changed files with 3 additions and 4 deletions

View File

@ -338,6 +338,9 @@ Sequence::handle ( int m )
/* garbage from overlay window */
return 0;
case FL_FOCUS:
Fl_Widget::handle( m );
redraw();
return 1;
case FL_UNFOCUS:
Fl_Widget::handle( m );
redraw();

View File

@ -1121,10 +1121,6 @@ Timeline::handle ( int m )
switch ( m )
{
case FL_FOCUS:
case FL_UNFOCUS:
// redraw();
return 1;
case FL_ENTER:
return 1;
case FL_LEAVE: