wayland: log current preferred scale, not older stale one

This commit is contained in:
llyyr authored and Dudemanguy committed 2026-05-13 15:28:29 +00:00
1 parent 6c34c07b36
commit ae811ddbbb
1 file changed
+1 -1
+1 -1
View File
@@ -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;