aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-25 15:32:11 +0200
committerDavid Robillard <d@drobilla.net>2019-08-02 23:34:36 +0200
commitfd56df57aa516aabe33af2c511fa74de9d858e4c (patch)
tree8fa56adbef93ba3518e94a48e894338106714a4e /pugl
parent561b71afe382634e71a8102136a33ba9a14eaa72 (diff)
downloadpugl-fd56df57aa516aabe33af2c511fa74de9d858e4c.tar.gz
pugl-fd56df57aa516aabe33af2c511fa74de9d858e4c.tar.bz2
pugl-fd56df57aa516aabe33af2c511fa74de9d858e4c.zip
Mac: Disable annoying bell on tab or other special key presses
Diffstat (limited to 'pugl')
-rw-r--r--pugl/detail/mac.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m
index e3568f5..b1bf4fd 100644
--- a/pugl/detail/mac.m
+++ b/pugl/detail/mac.m
@@ -452,6 +452,11 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type)
return NSMakeRect(frame.origin.x, frame.origin.y, 0.0, 0.0);
}
+- (void) doCommandBySelector:(SEL)selector
+{
+ (void)selector;
+}
+
- (void) insertText:(id)string
replacementRange:(NSRange)replacement
{