X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ftimebar.C;fp=cinelerra-5.1%2Fcinelerra%2Ftimebar.C;h=2640f1a2620767f793f58ebec66a7d815e06c271;hb=49b383e5201a002e262ef98a77f5cc976b837acc;hp=755e8e4196e0a85779fd62199fed0c562da821c8;hpb=7fa4ccc2c91d37f20f3618261e4cbaa9d5d3c740;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/timebar.C b/cinelerra-5.1/cinelerra/timebar.C index 755e8e41..2640f1a2 100644 --- a/cinelerra-5.1/cinelerra/timebar.C +++ b/cinelerra-5.1/cinelerra/timebar.C @@ -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: