call Canvas::re_enter() at the end of a RegionCutDrag so that entered_regionview...
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 9 Jul 2014 01:37:49 +0000 (21:37 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 9 Jul 2014 01:37:49 +0000 (21:37 -0400)
gtk2_ardour/editor_drag.cc

index ffc2d782600e83f1d19081af2fdd919017723b02..55ad3da6f7696866043a17d0a0c0f401b9ac79ef 100644 (file)
@@ -40,6 +40,7 @@
 #include "ardour/region_factory.h"
 #include "ardour/session.h"
 
+#include "canvas/canvas.h"
 #include "canvas/scroll_group.h"
 
 #include "editor.h"
@@ -5474,8 +5475,10 @@ RegionCutDrag::motion (GdkEvent*, bool)
 void
 RegionCutDrag::finished (GdkEvent*, bool)
 {
-       framepos_t pos = _drags->current_pointer_frame();
+       _editor->get_track_canvas()->canvas()->re_enter();
 
+       framepos_t pos = _drags->current_pointer_frame();
+       
        line->hide ();
 
        RegionSelection rs = _editor->get_regions_from_selection_and_mouse (pos);