From 193814497b3f72fddea17d04269759f1cf64943d Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Sun, 23 May 2021 16:59:30 -0500 Subject: [PATCH] wayland: send VO_EVENT_DPI on output event as well The display scaling might change here, so we need to signal mpv's core. --- video/out/wayland_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 6075b9a34b..2c0569a83b 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -700,6 +700,7 @@ static void output_handle_done(void* data, struct wl_output *wl_output) wl->window_size = wl->vdparams; if (!wl->vo_opts->fullscreen && !wl->vo_opts->window_maximized) wl->geometry = wl->window_size; + wl->pending_vo_events |= VO_EVENT_DPI; wl->pending_vo_events |= VO_EVENT_RESIZE; }