mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
fix canvas cursor handling in MidiRegionViews
This commit is contained in:
parent
fcf086986a
commit
b24db7cbf5
2 changed files with 5 additions and 0 deletions
|
|
@ -825,6 +825,7 @@ Editor::canvas_frame_handle_event (GdkEvent* event, ArdourCanvas::Item* item, Re
|
|||
ret = motion_handler (item, event);
|
||||
break;
|
||||
case GDK_ENTER_NOTIFY:
|
||||
set_entered_regionview (rv);
|
||||
ret = enter_handler (item, event, type);
|
||||
break;
|
||||
|
||||
|
|
|
|||
|
|
@ -205,6 +205,10 @@ RegionView::init (bool wfd)
|
|||
frame_handle_end->raise_to_top();
|
||||
}
|
||||
|
||||
if (frame) {
|
||||
frame->Event.connect (sigc::mem_fun (*this, &RegionView::canvas_group_event));
|
||||
}
|
||||
|
||||
if (name_text) {
|
||||
name_text->set_data ("regionview", this);
|
||||
name_text->Event.connect (sigc::bind (sigc::mem_fun (PublicEditor::instance(), &PublicEditor::canvas_region_view_name_event), name_text, this));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue