layout: fix size of CSD views

Currently we subtract the border width from the size of CSD view as well
as SSD ones, which is not correct.
This commit is contained in:
Isaac Freund
2022-12-31 19:27:18 +01:00
parent a7f00a77ca
commit 609055e835
2 changed files with 17 additions and 10 deletions

View File

@ -138,7 +138,6 @@ fn handleRequest(layout: *river.LayoutV3, request: river.LayoutV3.Request, self:
// Therefore, simply ignore requests with old/wrong serials.
if (layout_demand.serial != req.serial) return;
layout_demand.pushViewDimensions(
self.output,
req.x,
req.y,
@intCast(u31, math.min(math.maxInt(u31), req.width)),