Don't popup timeline menu on right-click if any modifiers are active.

This commit is contained in:
Jonathan Moore Liles 2008-05-02 01:01:35 -05:00
parent c8bb330e8e
commit 013dbe26f9
1 changed files with 3 additions and 0 deletions

View File

@ -957,6 +957,9 @@ Timeline::handle ( int m )
{ {
// take_focus(); // take_focus();
if ( Fl::event_state() & ( FL_ALT | FL_CTRL | FL_SHIFT ) )
return 0;
if ( Fl::event_button1() ) if ( Fl::event_button1() )
{ {
assert( ! drag ); assert( ! drag );