From ec2c50b33f12b5993eaf764df6fd712b28587dfd Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Tue, 27 Apr 2021 12:24:30 +0200 Subject: deps: update to latest zig-wayland --- riverctl/main.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'riverctl') diff --git a/riverctl/main.zig b/riverctl/main.zig index 64434e2..8837f79 100644 --- a/riverctl/main.zig +++ b/riverctl/main.zig @@ -55,7 +55,7 @@ fn _main() !void { var globals = Globals{}; - registry.setListener(*Globals, registryListener, &globals) catch unreachable; + registry.setListener(*Globals, registryListener, &globals); _ = try display.roundtrip(); const control = globals.control orelse return error.RiverControlNotAdvertised; @@ -68,7 +68,7 @@ fn _main() !void { const callback = try control.runCommand(seat); - callback.setListener(?*c_void, callbackListener, null) catch unreachable; + callback.setListener(?*c_void, callbackListener, null); // Loop until our callback is called and we exit. while (true) _ = try display.dispatch(); -- cgit v1.2.3