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 ddd3f6dbdb..44ccb4819b 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -844,6 +844,8 @@ static void handle_vo_events(struct MPContext *mpctx) mp_notify(mpctx, MP_EVENT_WIN_STATE, NULL); if (events & VO_EVENT_DPI) mp_notify(mpctx, MP_EVENT_WIN_STATE2, NULL); + if (events & VO_EVENT_FOCUS) + mp_notify(mpctx, MP_EVENT_FOCUS, NULL); } static void handle_sstep(struct MPContext *mpctx) |