diff options
author | Teddy Wing | 2018-10-07 05:44:49 +0200 |
---|---|---|
committer | Teddy Wing | 2018-10-07 06:00:42 +0200 |
commit | 530e7424936822e41d4e4c19ee56dd1014011a8c (patch) | |
tree | 1ad774ecd0abfa89e62f05eb289f08e047dbf23c | |
parent | 8865b27d5436d6dcf6359c6f3eb9b3f9c17ad43a (diff) | |
download | DomeKey-530e7424936822e41d4e4c19ee56dd1014011a8c.tar.bz2 |
main: Switch back to `NSApplication`
Since media keys didn't work for Bluetooth button interception, revert
back to `NSApplication` instead of our subclass.
-rw-r--r-- | DomeKey/main.m | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |