1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00

cocoa: don't change app activation policy in libmpv

/cc @mpv-player/stable
This commit is contained in:
Stefano Pigozzi 2014-12-06 10:13:11 +01:00
parent f9799ff342
commit 73b7d4516b

View File

@ -211,9 +211,10 @@ void vo_cocoa_uninit(struct vo *vo)
[s->gl_ctx release]; [s->gl_ctx release];
[s->view removeFromSuperview]; [s->view removeFromSuperview];
[s->view release]; [s->view release];
if (s->window) [s->window release]; if (s->window) {
[s->window release];
[NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory]; [NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory];
}
}); });
} }