1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 18:12:22 +00:00

cocoa: don't set application icon in libmpv

This commit is contained in:
Stefano Pigozzi 2015-01-16 19:24:25 +01:00
parent 918b06c42c
commit 730db25b1b

View File

@ -480,8 +480,10 @@ int vo_cocoa_config_window(struct vo *vo, uint32_t flags, void *gl_ctx)
s->pending_events |= VO_EVENT_RESIZE;
});
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
set_application_icon(NSApp);
if (!s->embedded) {
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
set_application_icon(NSApp);
}
return 0;
}