diff --git a/Timeline/Annotation_Point.H b/Timeline/Annotation_Point.H index 388fb70..b425275 100644 --- a/Timeline/Annotation_Point.H +++ b/Timeline/Annotation_Point.H @@ -110,14 +110,14 @@ public: { Logger _log( this ); - if ( m == FL_PUSH && Fl::event_button3() && ! Fl::event_ctrl() ) + if ( m == FL_PUSH && Fl::test_shortcur( FL_BUTTON3 ) && ! Fl::event_shift() ) { const char *s = fl_input( "New name for mark:", name() ); if ( s ) name( s ); - return 1; + return 0; } int r = Sequence_Widget::handle( m ); diff --git a/Timeline/Annotation_Region.C b/Timeline/Annotation_Region.C index 1d631a5..6d5d8a5 100644 --- a/Timeline/Annotation_Region.C +++ b/Timeline/Annotation_Region.C @@ -103,7 +103,7 @@ Annotation_Region::handle ( int m ) free( s ); - return 1; + return 0; } int r = Sequence_Region::handle( m );