diff options
author | Akemi <der.richter@gmx.de> | 2018-03-13 21:14:27 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-03-14 23:59:03 -0700 |
commit | 0c2f11cee62cb88b37b1986effbd58e407a972bf (patch) | |
tree | 25603a9e9525e2571e920e1daff57d397708d785 /video/out/opengl/context_angle.c | |
parent | 749f5c8d65056763398aad5e9eb786fe52b8fede (diff) | |
download | mpv-0c2f11cee62cb88b37b1986effbd58e407a972bf.tar.bz2 mpv-0c2f11cee62cb88b37b1986effbd58e407a972bf.tar.xz |
cocoa-cb: fix crash on startup with not initialised title bar
the first mouse events, that try to hide the title bar, could happen
before the title bar was actually initialised. that caused our hiding
code to access a nil value. check for an available title bar before
trying to hide it.
Diffstat (limited to 'video/out/opengl/context_angle.c')
0 files changed, 0 insertions, 0 deletions