X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ftimebar.C;h=3f0780b732d86180fd2a036b7cb335feda6f986f;hp=755e8e4196e0a85779fd62199fed0c562da821c8;hb=a035e76a79938f9662fca703020e213020428c9d;hpb=7fa4ccc2c91d37f20f3618261e4cbaa9d5d3c740 diff --git a/cinelerra-5.1/cinelerra/timebar.C b/cinelerra-5.1/cinelerra/timebar.C index 755e8e41..3f0780b7 100644 --- a/cinelerra-5.1/cinelerra/timebar.C +++ b/cinelerra-5.1/cinelerra/timebar.C @@ -127,7 +127,7 @@ int LabelGUI::test_drag_label(int press) if( press && get_value() ) { timebar->current_operation = TIMEBAR_DRAG_LABEL; timebar->drag_label = this; - set_cursor(MOVE_CURSOR, 0, 0); + set_cursor(HSEPARATE_CURSOR, 0, 0); mwindow->undo->update_undo_before(_("drag label"), this); return 1; } @@ -785,16 +785,6 @@ int TimeBar::cursor_motion_event() //printf("TimeBar::cursor_motion_event %d %p %d\n", __LINE__, this, current_operation); switch( current_operation ) { - case TIMEBAR_DRAG: - { - update_cursor(); - handle_mwindow_drag(); - result = 1; -//printf("TimeBar::cursor_motion_event %d %d\n", __LINE__, current_operation); - break; - } - - case TIMEBAR_DRAG_LEFT: case TIMEBAR_DRAG_RIGHT: case TIMEBAR_DRAG_CENTER: @@ -818,7 +808,13 @@ int TimeBar::cursor_motion_event() } } highlighted = 1; - redraw = 1; + redraw = 1; // fall thru + + case TIMEBAR_DRAG: + update_cursor(); + handle_mwindow_drag(); + result = 1; +//printf("TimeBar::cursor_motion_event %d %d\n", __LINE__, current_operation); break; default: