diff --git a/common/video/wayland_surface.cpp b/common/video/wayland_surface.cpp index 3628747f..626fc5c1 100644 --- a/common/video/wayland_surface.cpp +++ b/common/video/wayland_surface.cpp @@ -153,7 +153,7 @@ std::tuple WaylandSurface::get_size() return { metrics.width * metrics.scale, metrics.height * metrics.scale }; } - return { metrics.width * actual_scale, metrics.height * actual_scale }; + return { round(metrics.width * actual_scale), round(metrics.height * actual_scale) }; } void WaylandSurface::resize(Metrics m)