mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 17:12:36 +00:00
cocoa: don't change app activation policy in libmpv
/cc @mpv-player/stable
This commit is contained in:
parent
f9799ff342
commit
73b7d4516b
@ -211,9 +211,10 @@ void vo_cocoa_uninit(struct vo *vo)
|
||||
[s->gl_ctx release];
|
||||
[s->view removeFromSuperview];
|
||||
[s->view release];
|
||||
if (s->window) [s->window release];
|
||||
|
||||
[NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory];
|
||||
if (s->window) {
|
||||
[s->window release];
|
||||
[NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory];
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user