From 2bdbe414e86e321bebc0075c53cc416bf4bf4273 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Thu, 15 Feb 2024 11:59:38 +0100 Subject: [PATCH] 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;