mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-26 08:27:43 +01:00
make sure enter/leave events propagate to both MidiView and EditingContext
This helps with cursor setting as we enter/leave the canvas.
This commit is contained in:
parent
4ee709af7b
commit
be3e6c8f1b
1 changed files with 8 additions and 1 deletions
|
|
@ -119,7 +119,14 @@ PianorollMidiView::midi_canvas_group_event (GdkEvent* ev)
|
|||
/* Let MidiView do its thing */
|
||||
|
||||
if (MidiView::midi_canvas_group_event (ev)) {
|
||||
return true;
|
||||
|
||||
switch (ev->type) {
|
||||
case GDK_ENTER_NOTIFY:
|
||||
case GDK_LEAVE_NOTIFY:
|
||||
break;
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return _editing_context.canvas_bg_event (ev, event_rect);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue