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:
parent
918b06c42c
commit
730db25b1b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user