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:
parent
f9799ff342
commit
73b7d4516b
@ -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];
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user