Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
deps: update to latest zig-wlroots
This fixes a nasty ABI bug that could cause river to crash when
hotplugging down to 0 outputs.
deps/zig-wlroots | 2 +-
river/Root.zig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/deps/zig-wlroots b/deps/zig-wlroots
index 42d08b0..597b244 160000
--- a/deps/zig-wlroots
+++ b/deps/zig-wlroots
@@ -1 +1 @@
-Subproject commit 42d08b0b1e50f7f0d142275f89c7e899ca8c78d3
+Subproject commit 597b2448319caa90ebe3625dd03ce925dee08b11
diff --git a/river/Root.zig b/river/Root.zig
index 90e03de..73fb80b 100644
--- a/river/Root.zig
+++ b/river/Root.zig
@@ -84,7 +84,7 @@ pub fn init(self: *Self) !void {
const transaction_timer = try event_loop.addTimer(*Self, handleTransactionTimeout, self);
errdefer transaction_timer.remove();
- const noop_wlr_output = try server.headless_backend.headlessAddOutput();
+ const noop_wlr_output = try server.headless_backend.headlessAddOutput(1920, 1080);
self.* = .{
.output_layout = output_layout,
.output_manager = try wlr.OutputManagerV1.create(server.wl_server),