wayland: correctly scale configure_bounds

This commit is contained in:
iczero
2023-04-11 20:05:17 +00:00
committed by Dudemanguy
parent cbbe2e5221
commit d65e56216d
+2 -2
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