// Drag-N-Drop from the region list can generate this target
target_table.push_back (TargetEntry ("regions"));
- target_table.push_back (TargetEntry ("text/plain"));
target_table.push_back (TargetEntry ("text/uri-list"));
+ target_table.push_back (TargetEntry ("text/plain"));
target_table.push_back (TargetEntry ("application/x-rootwin-drop"));
_track_canvas->drag_dest_set (target_table);
const SelectionData& data,
guint info, guint time)
{
- if (ARDOUR_UI_UTILS::no_engine_notify ()) {
+ if (!ARDOUR_UI_UTILS::engine_is_running ()) {
return;
}
if (data.get_target() == "regions") {
controls_layout.get_parent()->translate_coordinates (*toplevel,
alloc.get_x(), alloc.get_y(),
- wx, wy);
+ wx, wy);
scrolling_boundary = ArdourCanvas::Rect (wx, wy, wx + alloc.get_width(), wy + alloc.get_height());