From e3ee989ec47f4e60ecbc1d10e817cb230091ca5a Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sun, 31 Jan 2010 10:05:56 -0600 Subject: [PATCH] Mixer: Add click-to-focus for mixer strips. --- Mixer/Mixer_Strip.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mixer/Mixer_Strip.C b/Mixer/Mixer_Strip.C index a1178ca..bf5dacc 100644 --- a/Mixer/Mixer_Strip.C +++ b/Mixer/Mixer_Strip.C @@ -574,6 +574,8 @@ Mixer_Strip::handle ( int m ) break; case FL_PUSH: { + take_focus(); + if ( Fl_Group::handle( m ) ) return 1; else if ( test_press( FL_BUTTON3 ) )