From c655fdc38fe20db3954eaf625ed41bdebf66254b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 5 Oct 2014 22:32:23 +0200 Subject: cocoa: actually reset the event flags --- video/out/cocoa_common.m | 1 + 1 file changed, 1 insertion(+) (limited to 'video') diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m index 6d677bc9c1..cfdd085de3 100644 --- a/video/out/cocoa_common.m +++ b/video/out/cocoa_common.m @@ -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); -- cgit v1.2.3