diff --git a/src/server/frontend_wayland/wl_surface.cpp b/src/server/frontend_wayland/wl_surface.cpp index 2ac9b1869d..3d80c10c60 100644 --- a/src/server/frontend_wayland/wl_surface.cpp +++ b/src/server/frontend_wayland/wl_surface.cpp @@ -429,7 +429,7 @@ void mf::WlSurface::commit(WlSurfaceState const& state) } else { - src_sample = geom::RectangleD{{0, 0}, geom::SizeD{current_buffer->size()}}; + src_sample = geom::RectangleD{{0, 0}, current_buffer->size()}; logical_size = current_buffer->size() / scale; }