From 530e7424936822e41d4e4c19ee56dd1014011a8c Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 7 Oct 2018 05:44:49 +0200 Subject: main: Switch back to `NSApplication` Since media keys didn't work for Bluetooth button interception, revert back to `NSApplication` instead of our subclass. --- DomeKey/main.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DomeKey/main.m b/DomeKey/main.m index 825e600..f3c1eef 100644 --- a/DomeKey/main.m +++ b/DomeKey/main.m @@ -19,7 +19,7 @@ int main(int argc, const char * argv[]) { return [Mappings dispatchReload]; } else if (config->args.daemon) { @autoreleasepool { - [DKApplication sharedApplication]; + [NSApplication sharedApplication]; AppDelegate *app = [[AppDelegate alloc] init]; [NSApp setDelegate:app]; -- cgit v1.2.3