summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
Diffstat (limited to 'video/out')
-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