From ae811ddbbb8b71b60dc99016889e7c6e3512314c Mon Sep 17 00:00:00 2001 From: llyyr Date: Wed, 13 May 2026 02:47:46 +0530 Subject: [PATCH] wayland: log current preferred scale, not older stale one --- video/out/wayland_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 8a4fbfa8f2..2e86cb76f9 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -1738,7 +1738,7 @@ static void surface_handle_preferred_buffer_scale(void *data, wl->pending_scaling = scale * WAYLAND_SCALE_FACTOR; wl->scale_configured = true; MP_VERBOSE(wl, "Obtained preferred scale, %f, from the compositor.\n", - wl->scaling / WAYLAND_SCALE_FACTOR); + wl->pending_scaling / WAYLAND_SCALE_FACTOR); wl->pending_vo_events |= VO_EVENT_DPI; wl->need_rescale = true;