diff options
author | iczero <iczero4@gmail.com> | 2023-04-11 10:17:00 -0400 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-04-11 20:05:17 +0000 |
commit | d65e56216d2bb3f2a4b65922f48192be6a691152 (patch) | |
tree | 5e588d66885df06d01897440fd276cef4ae2c736 /video | |
parent | cbbe2e52210d9885a0897e9c7833267a60456c56 (diff) | |
download | mpv-d65e56216d2bb3f2a4b65922f48192be6a691152.tar.bz2 mpv-d65e56216d2bb3f2a4b65922f48192be6a691152.tar.xz |
wayland: correctly scale configure_bounds
Diffstat (limited to 'video')
-rw-r--r-- | video/out/wayland_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 40d344ffb6..e6ec7d90ad 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -954,8 +954,8 @@ static void handle_configure_bounds(void *data, struct xdg_toplevel *xdg_topleve int32_t width, int32_t height) { struct vo_wayland_state *wl = data; - wl->bounded_width = width; - wl->bounded_height = height; + wl->bounded_width = width * wl->scaling; + wl->bounded_height = height * wl->scaling; } #endif |