aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/mac.m
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-08-02 21:49:16 +0200
committerDavid Robillard <d@drobilla.net>2019-08-02 23:28:15 +0200
commit1c1e053d3403a6e03a00db8f3551f6a19302876b (patch)
treed17ecd6498434ef5d24a59e5416aa22d542e48b1 /pugl/detail/mac.m
parent9f4a5e733b20f2de1619b46e0f7a36b3b5558f6e (diff)
downloadpugl-1c1e053d3403a6e03a00db8f3551f6a19302876b.tar.gz
pugl-1c1e053d3403a6e03a00db8f3551f6a19302876b.tar.bz2
pugl-1c1e053d3403a6e03a00db8f3551f6a19302876b.zip
Replace puglIgnoreKeyRepeat() with a hint
Diffstat (limited to 'pugl/detail/mac.m')
-rw-r--r--pugl/detail/mac.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m
index ce82d78..e3568f5 100644
--- a/pugl/detail/mac.m
+++ b/pugl/detail/mac.m
@@ -330,7 +330,7 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type)
- (void) keyDown:(NSEvent*)event
{
- if (puglview->ignoreKeyRepeat && [event isARepeat]) {
+ if (puglview->hints.ignoreKeyRepeat && [event isARepeat]) {
return;
}