diff --git a/os/osx/view.h b/os/osx/view.h index 1ba0cba09..2aab6735b 100644 --- a/os/osx/view.h +++ b/os/osx/view.h @@ -65,6 +65,7 @@ namespace os { - (void)createMouseTrackingArea; - (void)destroyMouseTrackingArea; - (void)updateCurrentCursor; +- (BOOL)wantsPeriodicDraggingUpdates; - (NSDragOperation)draggingEntered:(id)sender; - (NSDragOperation)draggingUpdated:(id)sender; - (void)draggingExited:(id)sender; diff --git a/os/osx/view.mm b/os/osx/view.mm index b1fb95833..5c2042f1b 100644 --- a/os/osx/view.mm +++ b/os/osx/view.mm @@ -668,6 +668,11 @@ - (void)updateCurrentCursor ddProvider); } +- (BOOL)wantsPeriodicDraggingUpdates +{ + return false; +} + - (NSDragOperation)draggingEntered:(id)sender { WindowOSXObjc* target = (WindowOSXObjc*)sender.draggingDestinationWindow;