Mixer: Add click-to-focus for mixer strips.

This commit is contained in:
Jonathan Moore Liles 2010-01-31 10:05:56 -06:00
parent fab0527527
commit e3ee989ec4
1 changed files with 2 additions and 0 deletions

View File

@ -574,6 +574,8 @@ Mixer_Strip::handle ( int m )
break; break;
case FL_PUSH: case FL_PUSH:
{ {
take_focus();
if ( Fl_Group::handle( m ) ) if ( Fl_Group::handle( m ) )
return 1; return 1;
else if ( test_press( FL_BUTTON3 ) ) else if ( test_press( FL_BUTTON3 ) )