1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 12:17:12 +00:00

wayland: correctly scale configure_bounds

This commit is contained in:
iczero 2023-04-11 10:17:00 -04:00 committed by Dudemanguy
parent cbbe2e5221
commit d65e56216d

View File

@ -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