summaryrefslogtreecommitdiff
path: root/gtk2_ardour/draginfo.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-01-06 03:18:09 +0000
committerCarl Hetherington <carl@carlh.net>2009-01-06 03:18:09 +0000
commitf2058a3f8739c6a7e9f7408f31d3b94ddb50673f (patch)
tree2050e2386dc670b16259805d1ecdbf8fb350fe5b /gtk2_ardour/draginfo.h
parent780b75363915bd328877cba33766b1ac177b45c1 (diff)
Comment and (hopefully) simplify Editor::region_drag_motion_callback, fixing problems with dragging regions
to and from tracks in "stacked" display mode. As a side-effect, enable dragging of regions between layers, though I'm not entirely sure where this is useful or desirable just yet; dragging regions between layers currently works in the GUI but has no effect on the model. git-svn-id: svn://localhost/ardour2/branches/3.0@4389 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/draginfo.h')
-rw-r--r--gtk2_ardour/draginfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/draginfo.h b/gtk2_ardour/draginfo.h
index 6d3a6b8de3..e0fccb7f70 100644
--- a/gtk2_ardour/draginfo.h
+++ b/gtk2_ardour/draginfo.h
@@ -57,7 +57,9 @@ struct DragInfo {
void (Editor::*motion_callback)(ArdourCanvas::Item*, GdkEvent*);
void (Editor::*finished_callback)(ArdourCanvas::Item*, GdkEvent*);
TimeAxisView* source_trackview;
+ ARDOUR::layer_t source_layer;
TimeAxisView* dest_trackview;
+ ARDOUR::layer_t dest_layer;
bool x_constrained;
bool y_constrained;
bool copy;