summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authoriczero <iczero4@gmail.com>2023-04-11 10:17:00 -0400
committerDudemanguy <random342@airmail.cc>2023-04-11 20:05:17 +0000
commitd65e56216d2bb3f2a4b65922f48192be6a691152 (patch)
tree5e588d66885df06d01897440fd276cef4ae2c736 /video
parentcbbe2e52210d9885a0897e9c7833267a60456c56 (diff)
downloadmpv-d65e56216d2bb3f2a4b65922f48192be6a691152.tar.bz2
mpv-d65e56216d2bb3f2a4b65922f48192be6a691152.tar.xz
wayland: correctly scale configure_bounds
Diffstat (limited to 'video')
-rw-r--r--video/out/wayland_common.c4
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