1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 10:32:15 +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;
});
if (!s->embedded) {
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
set_application_icon(NSApp);
}
return 0;
}