diff --git a/river/Server.zig b/river/Server.zig index 3715f1e..8cb5671 100644 --- a/river/Server.zig +++ b/river/Server.zig @@ -48,7 +48,6 @@ sigint_source: *wl.EventSource, sigterm_source: *wl.EventSource, backend: *wlr.Backend, -headless_backend: *wlr.Backend, renderer: *wlr.Renderer, allocator: *wlr.Allocator, @@ -88,10 +87,6 @@ pub fn init(self: *Self) !void { // This frees itself when the wl.Server is destroyed self.backend = try wlr.Backend.autocreate(self.wl_server); - // This backend is used to create a headless output for use when no actual - // outputs are available. This frees itself when the wl.Server is destroyed. - self.headless_backend = try wlr.Backend.createHeadless(self.wl_server); - self.renderer = try wlr.Renderer.autocreate(self.backend); errdefer self.renderer.destroy(); try self.renderer.initServer(self.wl_server);