diff options
author | dudemanguy <random342@airmail.cc> | 2019-11-11 11:24:22 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2019-11-12 01:00:08 +0000 |
commit | dcc3c2eb3877f9876cc218b1e5f1187b81036c49 (patch) | |
tree | db39b511d425d99420023eb560d34a8b3837bafb /video/out/wayland_common.c | |
parent | b5894e760d7f7b8cd518cf2091cbaa56ece2d018 (diff) | |
download | mpv-dcc3c2eb3877f9876cc218b1e5f1187b81036c49.tar.bz2 mpv-dcc3c2eb3877f9876cc218b1e5f1187b81036c49.tar.xz |
wayland: use hidpi-window-scale option
Diffstat (limited to 'video/out/wayland_common.c')
-rw-r--r-- | video/out/wayland_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |