diff options
author | llyyr <llyyr.public@gmail.com> | 2023-08-25 09:16:05 +0530 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-08-25 09:34:53 +0200 |
commit | c0fb9b4b83905ff29f2b4c678af431561b5b53be (patch) | |
tree | d75474c9208555e800f5f399b85e0e504edb5619 /sub/osd.c | |
parent | ce7997649816e4d6c05071fbd4ecac0557120720 (diff) | |
download | mpv-c0fb9b4b83905ff29f2b4c678af431561b5b53be.tar.bz2 mpv-c0fb9b4b83905ff29f2b4c678af431561b5b53be.tar.xz |
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.
Diffstat (limited to 'sub/osd.c')
-rw-r--r-- | sub/osd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |