13
0

tweak for regionview enter/exit handling

This commit is contained in:
Paul Davis 2013-12-12 20:44:28 -05:00
parent 9b6135b2e1
commit d01075afcc

View File

@ -267,12 +267,17 @@ Editor::canvas_region_view_event (GdkEvent *event, ArdourCanvas::Item* item, Reg
break; break;
case GDK_ENTER_NOTIFY: case GDK_ENTER_NOTIFY:
set_entered_regionview (rv); if (event->crossing.detail != GDK_NOTIFY_INFERIOR) {
ret = true; set_entered_regionview (rv);
ret = true;
}
break; break;
case GDK_LEAVE_NOTIFY: case GDK_LEAVE_NOTIFY:
set_entered_regionview (0); if (event->crossing.detail != GDK_NOTIFY_INFERIOR) {
set_entered_regionview (0);
ret = true;
}
break; break;
default: default: