git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commita2ef3e6df8bbf17f6bfa7826050a81ea85070c09
parent9fa7fd4a37
authorIsaac Freund <[email protected]>
date2026-01-09 23:01
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;