From dcc3c2eb3877f9876cc218b1e5f1187b81036c49 Mon Sep 17 00:00:00 2001 From: dudemanguy Date: Mon, 11 Nov 2019 11:24:22 -0600 Subject: wayland: use hidpi-window-scale option --- video/out/wayland_common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video') diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 09f626a216..2007836a3b 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -1251,6 +1251,8 @@ int vo_wayland_reconfig(struct vo *vo) } else { wl_out = out->output; wl->current_output = out; + if (!vo->opts->hidpi_window_scale) + out->scale = 1; wl->scaling = out->scale; screenrc = wl->current_output->geometry; } -- cgit v1.2.3