summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa_common.m
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/cocoa_common.m')
-rw-r--r--video/out/cocoa_common.m1
1 files changed, 1 insertions, 0 deletions
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);