diff --git a/systray_darwin.m b/systray_darwin.m index 200d793..f1dc7ac 100644 --- a/systray_darwin.m +++ b/systray_darwin.m @@ -159,6 +159,7 @@ void runInMainThread(SEL method, id object) { void setIcon(const char* iconBytes, int length) { NSData* buffer = [NSData dataWithBytes: iconBytes length:length]; NSImage *image = [[NSImage alloc] initWithData:buffer]; + [image setSize:NSMakeSize(16, 16)]; runInMainThread(@selector(setIcon:), (id)image); }