Skip to content

Commit

Permalink
Use the implicit Size -> SizeD conversion a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
RAOF committed Jul 10, 2024
1 parent 2e8880d commit 3c948ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/frontend_wayland/wl_surface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 3c948ff

Please sign in to comment.