1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-15 19:47:32 +00:00

cocoa: actually reset the event flags

This commit is contained in:
Stefano Pigozzi 2014-10-05 22:32:23 +02:00
parent 62bc735c1a
commit c655fdc38f

View File

@ -461,6 +461,7 @@ int vo_cocoa_check_events(struct vo *vo)
{
struct vo_cocoa_state *s = vo->cocoa;
int events = s->pending_events;
s->pending_events = 0;
if (events & VO_EVENT_RESIZE)
resize_window(vo);