give drop zone its own cursor-ability
This commit is contained in:
parent
e5e12acc56
commit
e3a6ea0273
@ -1325,6 +1325,7 @@ Editor::choose_canvas_cursor_on_entry (GdkEventCrossing* /*event*/, ItemType typ
|
||||
case CdMarkerBarItem:
|
||||
case VideoBarItem:
|
||||
case TransportMarkerBarItem:
|
||||
case DropZoneItem:
|
||||
cursor = which_grabber_cursor();
|
||||
break;
|
||||
|
||||
|
@ -1126,6 +1126,12 @@ Editor::canvas_drop_zone_event (GdkEvent* event)
|
||||
return canvas_scroll_event (&scroll, true);
|
||||
break;
|
||||
|
||||
case GDK_ENTER_NOTIFY:
|
||||
return typed_event (_canvas_drop_zone, event, DropZoneItem);
|
||||
|
||||
case GDK_LEAVE_NOTIFY:
|
||||
return typed_event (_canvas_drop_zone, event, DropZoneItem);
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -61,6 +61,7 @@ enum ItemType {
|
||||
MinsecRulerItem,
|
||||
BBTRulerItem,
|
||||
SamplesRulerItem,
|
||||
DropZoneItem,
|
||||
|
||||
/* don't remove this */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user