mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 17:35:36 +00:00
ui/app: (macOS) suppress key shortcuts beeps
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -96,6 +96,10 @@ CVDisplayLinkRef displayLink;
|
|||||||
const char *utf8 = [string UTF8String];
|
const char *utf8 = [string UTF8String];
|
||||||
gio_onText((__bridge CFTypeRef)self, (char *)utf8);
|
gio_onText((__bridge CFTypeRef)self, (char *)utf8);
|
||||||
}
|
}
|
||||||
|
- (void)doCommandBySelector:(SEL)sel {
|
||||||
|
// Don't pass commands up the responder chain.
|
||||||
|
// They will end up in a beep.
|
||||||
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
CFTypeRef gio_createGLView() {
|
CFTypeRef gio_createGLView() {
|
||||||
|
|||||||
Reference in New Issue
Block a user