fixed init status on macos, moved tray icon paths to #ifdef block

This commit is contained in:
Serge A. Zaitsev
2017-01-09 14:49:57 +02:00
parent 7911e64bf1
commit 3bfe7aa50c
2 changed files with 16 additions and 11 deletions

2
tray.h
View File

@@ -108,7 +108,7 @@ static int tray_init(struct tray *tray) {
tray_update(tray);
[NSApp activateIgnoringOtherApps:YES];
return -1;
return 0;
}
static int tray_loop(int blocking) {