deps: update to latest zig-wlroots

This fixes a nasty ABI bug that could cause river to crash when
hotplugging down to 0 outputs.
This commit is contained in:
Isaac Freund 2022-06-23 18:50:00 +02:00
parent 2eb013e214
commit 7d9d889226
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11
2 changed files with 2 additions and 2 deletions

2
deps/zig-wlroots vendored

@ -1 +1 @@
Subproject commit 42d08b0b1e50f7f0d142275f89c7e899ca8c78d3 Subproject commit 597b2448319caa90ebe3625dd03ce925dee08b11

View File

@ -84,7 +84,7 @@ pub fn init(self: *Self) !void {
const transaction_timer = try event_loop.addTimer(*Self, handleTransactionTimeout, self); const transaction_timer = try event_loop.addTimer(*Self, handleTransactionTimeout, self);
errdefer transaction_timer.remove(); 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.* = .{ self.* = .{
.output_layout = output_layout, .output_layout = output_layout,
.output_manager = try wlr.OutputManagerV1.create(server.wl_server), .output_manager = try wlr.OutputManagerV1.create(server.wl_server),