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:
parent
62bc735c1a
commit
c655fdc38f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user