aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail
diff options
context:
space:
mode:
authorThomas Brand <tom@trellis.ch>2020-06-16 01:48:27 +0200
committerDavid Robillard <d@drobilla.net>2020-10-17 00:14:56 +0200
commit743db99714724c43f92cd8bcc004b5b0cd4217ef (patch)
tree4fe582918c4d9416167ebf5bb8f388fa31a29db9 /pugl/detail
parentcdf10456b3156517a9172b9a87f3a945487131a6 (diff)
downloadpugl-743db99714724c43f92cd8bcc004b5b0cd4217ef.tar.gz
pugl-743db99714724c43f92cd8bcc004b5b0cd4217ef.tar.bz2
pugl-743db99714724c43f92cd8bcc004b5b0cd4217ef.zip
Mac: React to cursorUpdate
Diffstat (limited to 'pugl/detail')
-rw-r--r--pugl/detail/mac.m6
1 files changed, 6 insertions, 0 deletions
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];