Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
View: don't clip off CSD shadow and the like
Instead just clip to the output dimensions as originally intended.
river/View.zig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/river/View.zig b/river/View.zig
index cd6a272..4de5fc1 100644
--- a/river/View.zig
+++ b/river/View.zig
@@ -335,8 +335,7 @@ pub fn updateCurrent(view: *Self) void {
}
{
- var surface_clip: wlr.Box = undefined;
- _ = surface_clip.intersection(box, &output_box);
+ var surface_clip: wlr.Box = output_box;
// The clip is applied relative to the root node of the subsurface tree.
surface_clip.x -= box.x;