From 743db99714724c43f92cd8bcc004b5b0cd4217ef Mon Sep 17 00:00:00 2001 From: Thomas Brand Date: Tue, 16 Jun 2020 01:48:27 +0200 Subject: Mac: React to cursorUpdate --- pugl/detail/mac.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m index 64590c6..5f7e126 100644 --- a/pugl/detail/mac.m +++ b/pugl/detail/mac.m @@ -366,6 +366,12 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type) puglview->impl->mouseTracked = false; } +- (void) cursorUpdate:(NSEvent*)event +{ + (void)event; + [puglview->impl->cursor set]; +} + - (void) mouseMoved:(NSEvent*)event { const NSPoint wloc = [self eventLocation:event]; -- cgit v1.2.1