mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:12:25 +00:00
wayland: send VO_EVENT_DPI on output event as well
The display scaling might change here, so we need to signal mpv's core.
This commit is contained in:
parent
cbd87ddb93
commit
193814497b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user