Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
Window: actually disable borders when fullscreen
river/Window.zig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/river/Window.zig b/river/Window.zig
index 789ac27..40f4a03 100644
--- a/river/Window.zig
+++ b/river/Window.zig
@@ -834,6 +834,9 @@ pub fn renderFinish(window: *Window) void {
window.fullscreen_background.setSize(width, height);
clip = .{ .x = 0, .y = 0, .width = width, .height = height };
content_clip = .{ .x = 0, .y = 0, .width = 0, .height = 0 };
+ inline for (.{ "left", "right", "top", "bottom" }) |edge| {
+ @field(window.border, edge).node.setEnabled(false);
+ }
} else {
window.box.x = requested.x;
window.box.y = requested.y;