From d65e56216d2bb3f2a4b65922f48192be6a691152 Mon Sep 17 00:00:00 2001 From: iczero Date: Tue, 11 Apr 2023 10:17:00 -0400 Subject: wayland: correctly scale configure_bounds --- video/out/wayland_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/out') 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 -- cgit v1.2.3