From c6d7221890dfa06f14ae136dba2881832f545892 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 28 Feb 2007 23:00:00 +0000 Subject: slight correction to last copy-drag-constrained logic git-svn-id: svn://localhost/ardour2/trunk@1537 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_mouse.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index c11fde58c2..88b4333878 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -2834,9 +2834,11 @@ Editor::region_drag_motion_callback (ArdourCanvas::Item* item, GdkEvent* event) if we haven't passed the move threshold yet */ - if ((drag_info.x_constrained && (drag_info.last_trackview != &rv->get_time_axis_view())) && + if ((!drag_info.x_constrained || (drag_info.last_trackview != &rv->get_time_axis_view())) && drag_info.copy && drag_info.move_threshold_passed && drag_info.want_move_threshold) { + cerr << "COPY, xcons = " << drag_info.x_constrained << " last = " << drag_info.last_trackview->name() << " rv = " << rv->get_time_axis_view().name() << endl; + drag_info.want_move_threshold = false; // don't copy again /* this is committed in the grab finished callback. */ -- cgit v1.2.3