Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
Output: remove overzealous assert
If running river with WLR_BACKENDS=headless, every output is headless
not just the noop output.
river/Output.zig | 2 --
1 file changed, 2 deletions(-)
diff --git a/river/Output.zig b/river/Output.zig
index 7be62e8..0cc86c2 100644
--- a/river/Output.zig
+++ b/river/Output.zig
@@ -98,8 +98,6 @@ frame: wl.Listener(*wlr.OutputDamage) = wl.Listener(*wlr.OutputDamage).init(hand
damage_destroy: wl.Listener(*wlr.OutputDamage) = wl.Listener(*wlr.OutputDamage).init(handleDamageDestroy),
pub fn init(self: *Self, wlr_output: *wlr.Output) !void {
- assert(!wlr_output.isHeadless());
-
if (!wlr_output.initRender(server.allocator, server.renderer)) return;
// Some backends don't have modes. DRM+KMS does, and we need to set a mode