tweak for regionview enter/exit handling
This commit is contained in:
parent
9b6135b2e1
commit
d01075afcc
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user