From 054fda90e004665bcc6f84a1b7e7680be0753f02 Mon Sep 17 00:00:00 2001 From: Christopher James Halse Rogers Date: Tue, 9 Jul 2024 14:08:08 +1000 Subject: [PATCH] Use the implicit `Size` -> `SizeD` conversion a bit more --- src/server/frontend_wayland/wl_surface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/frontend_wayland/wl_surface.cpp b/src/server/frontend_wayland/wl_surface.cpp index 2ac9b1869d9..3d80c10c604 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; }