aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/mac.m
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-05 15:01:13 +0200
committerDavid Robillard <d@drobilla.net>2020-07-05 18:47:39 +0200
commit90abfef17294c1b382f43007d984b93c200efa9d (patch)
treed8290397997ac31d7f9b9b565cd16ee88c11f937 /pugl/detail/mac.m
parent6c2460414082b989487abcad2ca2018a16ecdbd7 (diff)
downloadpugl-90abfef17294c1b382f43007d984b93c200efa9d.tar.gz
pugl-90abfef17294c1b382f43007d984b93c200efa9d.tar.bz2
pugl-90abfef17294c1b382f43007d984b93c200efa9d.zip
Replace isHint bool with a flag
I don't have any particular future use case in mind, but I think the concept makes sense for general events and it seems it could be useful for things like gestures as well. Also fixes another padding warning in the API.
Diffstat (limited to 'pugl/detail/mac.m')
-rw-r--r--pugl/detail/mac.m1
1 files changed, 0 insertions, 1 deletions
diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m
index 50c52c5..23671ae 100644
--- a/pugl/detail/mac.m
+++ b/pugl/detail/mac.m
@@ -379,7 +379,6 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type)
rloc.x,
[[NSScreen mainScreen] frame].size.height - rloc.y,
getModifiers(event),
- 0,
};
puglDispatchEvent(puglview, (const PuglEvent*)&ev);