diff options
Diffstat (limited to 'player/playloop.c')
-rw-r--r-- | player/playloop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/player/playloop.c b/player/playloop.c index 85d962fffe..9e1cef957d 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -676,6 +676,8 @@ static void handle_vo_events(struct MPContext *mpctx) int events = vo ? vo_query_events(vo, VO_EVENTS_USER, true) : 0; if (events & VO_EVENT_RESIZE) mp_notify(mpctx, MP_EVENT_WIN_RESIZE, NULL); + if (events & VO_EVENT_WIN_STATE) + mp_notify(mpctx, MP_EVENT_WIN_STATE, NULL); } void add_frame_pts(struct MPContext *mpctx, double pts) |