From c0fb9b4b83905ff29f2b4c678af431561b5b53be Mon Sep 17 00:00:00 2001 From: llyyr Date: Fri, 25 Aug 2023 09:16:05 +0530 Subject: sub/osd: signal osd_changed on resize We should update the osd when the window is resized, previously we weren't signalling for an update. --- sub/osd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sub/osd.c b/sub/osd.c index 811b6c821b..fcdc7dd4df 100644 --- a/sub/osd.c +++ b/sub/osd.c @@ -253,6 +253,7 @@ static void check_obj_resize(struct osd_state *osd, struct mp_osd_res res, { if (!osd_res_equals(res, obj->vo_res)) { obj->vo_res = res; + obj->osd_changed = true; mp_client_broadcast_event_external(osd->global->client_api, MP_EVENT_WIN_RESIZE, NULL); } -- cgit v1.2.3