From 8545b82b49a7178d99d2ad85a4041fbefc2f9080 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sun, 20 Jul 2008 22:29:29 -0500 Subject: [PATCH] Don't lose track of timeline focus when window loses focus. --- Timeline/Sequence.C | 3 +++ Timeline/Timeline.C | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Timeline/Sequence.C b/Timeline/Sequence.C index ea9fe0d..011612f 100644 --- a/Timeline/Sequence.C +++ b/Timeline/Sequence.C @@ -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(); diff --git a/Timeline/Timeline.C b/Timeline/Timeline.C index 8589bc8..f2df608 100644 --- a/Timeline/Timeline.C +++ b/Timeline/Timeline.C @@ -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: